operator bool()

Decimal::operator bool() const method

Converts the value represented by the current object to a boolean value.

System::Decimal::operator bool() const

Return Value

True if the value represented by the current object is not 0, otherwise - false

See Also