CompareTo(DB2Decimal) Method
Compares the current
DB2Decimal object to the specified object and returns an integer that represents their relative values.
Parameters
- value
- The object to compare the current DB2Decimal object with.
Return Value
A signed number indicating the relative values of the current
DB2Decimal structure and the object.
Return Value |
Condition |
Less than zero |
The value of the current DB2Decimal object is less than the object. |
Zero |
The current DB2Decimal object is the same to the object. |
Greater than zero |
The current DB2Decimal object is greater than the object. |