Fan.Sys.BigDecimal.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            if (obj is BigDecimal)
            return val == (obj as BigDecimal).val;
              return false;
        }

Usage Example

Example #1
0
 //////////////////////////////////////////////////////////////////////////
 // Identity
 //////////////////////////////////////////////////////////////////////////
 public static bool equals(BigDecimal self, object obj)
 {
     if (obj is BigDecimal)
       {
     return self.Equals(obj);
       }
       return false;
 }
All Usage Examples Of Fan.Sys.BigDecimal::Equals