Метод System::Decimal::CompareTo
Decimal::CompareTo method
Определяет, меньше ли значение, представленное текущим объектом, равно ли оно или больше значения, представленного указанным объектом.
int System::Decimal::CompareTo(const Decimal &d) const
| Параметр | Тип | Описание |
|---|---|---|
| d | const Decimal& | Сравниваемое значение |
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
См. также
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Font for C++