## Decimal::Add method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| d1 | const Decimal\& | 第一个值。 |
| d2 | const Decimal\& | 第二个值。 |

### ReturnValue

**d1** 和 **d2** 的和。

## 另见

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