System::Decimal::Compare-Methode
Decimal::Compare method
Bestimmt, ob der von dem ersten Decimal-Objekt dargestellte Wert kleiner, gleich oder größer ist als der von dem zweiten Decimal-Objekt dargestellte Wert.
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
| Parameter | Typ | Beschreibung |
|---|---|---|
| d1 | const Decimal& | Der erste Operand |
| d2 | const Decimal& | Der zweite Operand |
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
Siehe auch
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Font for C++