The IntegerToBoolean function is a built-in function that converts Integer i to a Boolean value. Integer value of 0 is False. Any other value is True.

Input parameters

i: Integer Type

Output parameters

Boolean Type

Examples

Usage

Result

IntegerToBoolean( 10 )

True

IntegerToBoolean( -10 )

True

IntegerToBoolean( 0 )

False

See Also

Available Conversion Functions to Boolean | Available Built-in Functions