Returns true if the argument is a number and not 0, if the argument is a boolean, and is true. Accepts the string "true" for true and "false" for false as well.
CBool( X )
X | a number, currency, boolean or the string "true" for true and "false" or "false" |
---|
Boolean value
CBool(123.1235415) // true CBool(0.00000001) // true CBool(0.00000) // false CBool(1-1) // false CBool(true) // true CBool("true") // true CBool("false") // false CBool("other") // error