Beispiel #1
0
 public static bool IsLess(decimal x, decimal y)
 {
     return(IntValue.IsNegative(x.CompareTo(y)));
 }
Beispiel #2
0
 public static bool IsGreater(decimal x, decimal y)
 {
     return(IntValue.IsPositive(x.CompareTo(y)));
 }
Beispiel #3
0
 public static bool IsLess(double x, double y)
 {
     return(IntValue.IsNegative(x.CompareTo(y)));
 }
Beispiel #4
0
 public static bool IsGreater(double x, double y)
 {
     return(IntValue.IsPositive(x.CompareTo(y)));
 }
Beispiel #5
0
 public static bool IsNotLess(bool x, bool y)
 {
     return(!IntValue.IsNegative(x.CompareTo(y)));
 }
Beispiel #6
0
 public static bool IsNotGreater(bool x, bool y)
 {
     return(!IntValue.IsPositive(x.CompareTo(y)));
 }