## Decimal::Subtract method


Subtracts one specified [Decimal](../) value from another.

```cpp
static Decimal System::Decimal::Subtract(const Decimal &d1, const Decimal &d2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| d1 | const Decimal\& | The minuend. |
| d2 | const Decimal\& | The subtrahend. |

### ReturnValue

The result of subtracting **d2** from **d1**.

## See Also

* Class [Decimal](../)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
