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