operator-()

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

Arguments

ParameterTypeDescription
dconst Decimal&The Decimal object representing the value to subtract

Return Value

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::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