## Decimal::CompareTo method


현재 객체가 나타내는 값이 지정된 객체가 나타내는 값보다 작거나, 같은지, 혹은 큰지를 판단합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| d | const Decimal\& | 비교 대상 |

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

## 또 보기

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