## Decimal::Compare method


İlk [Decimal](../) nesnesi tarafından temsil edilen değerin, ikinci [Decimal](../) nesnesi tarafından temsil edilen değerden küçük, eşit veya büyük olup olmadığını belirler.

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


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| d1 | const Decimal\& | İlk karşılaştırılan |
| d2 | const Decimal\& | İkinci karşılaştırılan |

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

## Ayrıca Bakınız

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