## Decimal::operator-() const method


Returns a new instance of [Decimal](../) class that represents a value that results from negation of the value represented by the current object.

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

## See Also

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


Returns a new instance of [Decimal](../) class that represents a value that is the result of subtraction of the value represented by the specified object from the value represented by the current object.

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


| Parameter | Type | Description |
| --- | --- | --- |
| d | const Decimal\& | The [Decimal](../) object representing the value to subtract |

### ReturnValue

A new instance of [Decimal](../) class that represents a value that is the result of subtraction of the value represented by the specified object from the value represented by the current object

## See Also

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