The DecimalToBoolean function is a built-in function that converts Decimal d to a Boolean value. Decimal value of 0.0 is False. Any other value is True.

Input parameters

d: Decimal Type

Output parameters

Boolean Type

Examples

Usage

Result

DecimalToBoolean( 0.0 )

False

DecimalToBoolean( 0.05 )

True

See Also

Available Conversion Functions to Boolean | Available Built-in Functions