System::Decimal::operator bool メソッド

Decimal::operator bool method

現在のオブジェクトが表す値をブール値に変換します。

System::Decimal::operator bool() const

ReturnValue

現在のオブジェクトが表す値が 0 でない場合は true、そうでない場合は false

参照