Metodo System::Decimal::Compare
Decimal::Compare method
Determina se il valore rappresentato dal primo oggetto Decimal è inferiore, uguale o superiore al valore rappresentato dal secondo oggetto Decimal.
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
| Parametro | Tipo | Descrizione |
|---|---|---|
| d1 | const Decimal& | Il primo comparando |
| d2 | const Decimal& | Il secondo comparando |
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
Vedi anche
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Font for C++