System::Decimal::CompareTo method
Decimal::CompareTo method
Determines if the value represented by the current object is less than, equal to or greater than the value represented by the specified object.
int System::Decimal::CompareTo(const Decimal &d) const
Parameter | Type | Description |
---|---|---|
d | const Decimal& | The comparand |
ReturnValue
-1 if the value represented by the current object is less than the value represented by d; 0 if the values are equal; 1 if the value represented by the current object is greater than the value represented by d
See Also
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.PUB for C++