System::Decimal::Compare method
Decimal::Compare method
Determines if the value represented by the first Decimal object is less than, equal to or greater than the value represented by the second Decimal object.
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
Parameter | Type | Description |
---|---|---|
d1 | const Decimal& | The first comparand |
d2 | const Decimal& | The second comparand |
ReturnValue
-1 if the value represented by d1 is less than the value represented by d2; 0 if the values are equal; 1 if the value represented by d1 is greater than the value represented by d2
See Also
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Page for C++