Method Compare
Compare(Decimal128, Decimal128)
Compares two specified Decimal128 values and returns an integer that indicates whether the first value is greater than, less than, or equal to the second value.
public static int Compare(Decimal128 x, Decimal128 y)
Parameters
x
Decimal128The first value.
y
Decimal128The second value.
Returns
- int
Less than zero if x < y, zero if x == y, and greater than zero if x > y.