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