System::Decimal::operator- 方法

Decimal::operator-() const method

返回一个新的 Decimal 类实例,表示对当前对象所表示的值取负后的结果。

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

另见

Decimal::operator-(const Decimal&) const method

返回一个新的 Decimal 类实例,表示从当前对象所表示的值中减去指定对象所表示的值后的结果。

Decimal System::Decimal::operator-(const Decimal &d) const
参数类型描述
dconst Decimal&表示要减去的值的 Decimal 对象

ReturnValue

一个新的 Decimal 类实例,表示从当前对象所表示的值中减去指定对象所表示的值后的结果。

另见