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


Determines if the values represented by the current object and the specified object are equal.

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


| Parameter | Type | Description |
| --- | --- | --- |
| d | const Decimal\& | The [Decimal](../) object to compare the current object with |

### ReturnValue

True if the value represented by the current and the specified objects are equal, otherwise - false

## See Also

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


Determines if the value represented by the current object is 0.

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


### ReturnValue

True if the value represented by the current object is 0, otherwise - false

## See Also

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