## Decimal::Equals(const Decimal\&) const method


Determines if the values represented by the current object and the specified object are equal.

```cpp
bool System::Decimal::Equals(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.PDF for C++](../../../)
## Decimal::Equals(const SharedPtr\<Object\>\&) const method


Determines if the values represented by the current object and the specified object are equal.

```cpp
bool System::Decimal::Equals(const SharedPtr<Object> &obj) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | const SharedPtr\<Object\>\& | The 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

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## Decimal::Equals(const Decimal\&, const Decimal\&) method


Determines if the values represented by the specified objects are equal.

```cpp
static bool System::Decimal::Equals(const Decimal &d1, const Decimal &d2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| d1 | const Decimal\& | The first comparand |
| d2 | const Decimal\& | The second comparand |

### ReturnValue

True if the values represented by **d1** and **d2** are equal, otherwise - false

## See Also

* Class [Decimal](../)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
