## Decimal::operator-() const method


返回一个新的 [Decimal](../) 类实例，该实例表示对当前对象所表示的值取负后的结果。

```cpp
Decimal System::Decimal::operator-() const
```

## 另见

* Class [Decimal](../)
* Class [Decimal](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## Decimal::operator-(const Decimal\&) const method


返回一个新的 [Decimal](../) 类实例，该实例表示从当前对象所表示的值中减去指定对象所表示的值后的结果。

```cpp
Decimal System::Decimal::operator-(const Decimal &d) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| d | const Decimal\& | 表示要减去的值的 [Decimal](../) 对象 |

### ReturnValue

一个新的 [Decimal](../) 类实例，表示从当前对象所表示的值中减去指定对象所表示的值后的结果。

## 另见

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