## Decimal::operator==(const Decimal\&) const method


确定当前对象和指定对象所表示的值是否相等。

```cpp
bool System::Decimal::operator==(const Decimal &d) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| d | const Decimal\& | 用于与当前对象比较的 [Decimal](../) 对象 |

### ReturnValue

如果当前对象和指定对象所表示的值相等则为 true，否则为 false

## 另见

* Class [Decimal](../)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Decimal::operator==(std::nullptr_t) const method


确定当前对象表示的值是否为 0。

```cpp
bool System::Decimal::operator==(std::nullptr_t) const
```


### ReturnValue

如果当前对象所表示的值为 0 则为 true，否则为 false

## 另见

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