## Decimal::CompareTo method


Bepaalt of de waarde die wordt weergegeven door het huidige object kleiner is dan, gelijk is aan of groter is dan de waarde die wordt weergegeven door het opgegeven object.

```cpp
int System::Decimal::CompareTo(const Decimal &d) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| d | const Decimal\& | De te vergelijken waarde |

### 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**

## Zie ook

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