CompareTo()
Decimal::CompareTo(const Decimal&) const 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
Arguments
Parameter | Type | Description |
---|---|---|
d | const Decimal& | The comparand |
Return Value
-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
- Namespace System
- Library Aspose.Slides