System::Decimal::operator== 方法

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

确定当前对象和指定对象所表示的值是否相等。

bool System::Decimal::operator==(const Decimal &d) const
参数类型描述
dconst Decimal&用于与当前对象比较的 Decimal 对象

ReturnValue

如果当前对象和指定对象所表示的值相等则为 true,否则为 false

另见

Decimal::operator==(std::nullptr_t) const method

确定当前对象所表示的值是否为 0。

bool System::Decimal::operator==(std::nullptr_t) const

ReturnValue

如果当前对象所表示的值为 0 则为 true,否则为 false

另见