Returns 0 if Values are within a "small" value computed from the supplied precision,
1 if the first value is greater than Y and -1 if the first value is lesser.
DecimalPrecisionDef defines the precision.
If you just want to know whether two values are the same then use SameValue
[Visual Basic] Overloads Public Shared Function CompareValue( _ ByVal x As Decimal, _ ByVal y As Decimal _ ) As Integer