## Decimal::CompareTo method


Geçerli nesne tarafından temsil edilen değerin, belirtilen nesne tarafından temsil edilen değerden küçük, eşit veya büyük olup olmadığını belirler.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| d | const Decimal\& | Karşılaştırılan değer |

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

## Ayrıca Bakınız

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