## Decimal::Equals(const Decimal\&) const method


現在のオブジェクトと指定されたオブジェクトが表す値が等しいかどうかを判断します。

```cpp
bool System::Decimal::Equals(const Decimal &d) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| d | const Decimal\& | 現在のオブジェクトと比較するための [Decimal](../) オブジェクト |

### ReturnValue

現在のオブジェクトと指定されたオブジェクトが表す値が等しい場合は true、そうでない場合は false

## 参照

* Class [Decimal](../)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Decimal::Equals(const SharedPtr\<Object\>\&) const method


現在のオブジェクトと指定されたオブジェクトが表す値が等しいかどうかを判断します。

```cpp
bool System::Decimal::Equals(const SharedPtr<Object> &obj) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| obj | const SharedPtr\<Object\>\& | 現在のオブジェクトと比較する対象のオブジェクト |

### ReturnValue

現在のオブジェクトと指定されたオブジェクトが表す値が等しい場合は true、そうでない場合は false

## 参照

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Decimal::Equals(const Decimal\&, const Decimal\&) method


指定されたオブジェクトが表す値が等しいかどうかを判断します。

```cpp
static bool System::Decimal::Equals(const Decimal &d1, const Decimal &d2)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| d1 | const Decimal\& | 最初の比較対象 |
| d2 | const Decimal\& | 2 番目の比較対象 |

### ReturnValue

**d1** と **d2** が表す値が等しい場合は true、そうでない場合は false

## 参照

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