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.
            
 
    Namespace: 
   MongoDB.Bson
    Assembly:
   MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic static int Compare(
	Decimal128 x,
	Decimal128 y
)
Public Shared Function Compare ( 
	x As Decimal128,
	y As Decimal128
) As Integer
static member Compare : 
        x : Decimal128 * 
        y : Decimal128 -> int 
Parameters
- x
 - Type: MongoDB.BsonDecimal128
The first value. - y
 - Type: MongoDB.BsonDecimal128
The second value. 
Return Value
Type: 
Int32Less than zero if x < y, zero if x == y, and greater than zero if x > y.
See Also