System::Decimal::operator- method

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.

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

See Also

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.

Decimal System::Decimal::operator-(const Decimal &d) const
ParameterTypeDescription
dconst 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