## Decimal::Add method


将两个指定的 [Decimal](../) 值相加。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| d1 | const Decimal\& | 第一个值。 |
| d2 | const Decimal\& | 第二个值。 |

### ReturnValue

The sum of **d1** and **d2**.

## 另见

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