## Decimal::Subtract method


从另一个指定的 [Decimal](../) 值中减去一个指定的 [Decimal](../) 值。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| d1 | const Decimal\& | 被减数。 |
| d2 | const Decimal\& | 减数。 |

### ReturnValue

从 **d1** 减去 **d2** 的结果。

## 另见

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