## Decimal::Compare method


Bepaalt of de waarde die wordt vertegenwoordigd door het eerste [Decimal](../) object kleiner is dan, gelijk aan of groter dan de waarde die wordt vertegenwoordigd door het tweede [Decimal](../) object.

```cpp
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| d1 | const Decimal\& | De eerste operand |
| d2 | const Decimal\& | De tweede 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**

## Zie ook

* Class [Decimal](../)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
