Converts the argument to a Boolean value.
Category: | Information and Conversion |
Returned data type: | Integer |
Note: | The returned value is a Boolean value that is returned if the argument value can be converted to a Boolean value |
booleantoboolean(value<>)
value
is passed in as one of the following: real, integer, string, or date
boolean convertedValue
integer result
result = 1
convertedValue = toboolean(result)
Print (convertedValue)