public static bool operator <=(Decimal d1, Decimal d2) { return(DecCalc.VarDecCmp(ref d1, ref d2) <= 0); }
// Compares two Decimal values for equality. Returns true if the two // Decimal values are equal, or false if they are not equal. // public static bool Equals(Decimal d1, Decimal d2) { return(DecCalc.VarDecCmp(ref d1, ref d2) == 0); }
public int CompareTo(Decimal value) { return(DecCalc.VarDecCmp(ref this, ref value)); }
public bool Equals(Decimal value) { return(DecCalc.VarDecCmp(ref this, ref value) == 0); }
// Compares two Decimal values, returning an integer that indicates their // relationship. // public static int Compare(Decimal d1, Decimal d2) { return(DecCalc.VarDecCmp(ref d1, ref d2)); }