In some circumstances, for example, after evaluating an If or ElseIf expression, the server must treat the result of an expression as a Boolean. The server uses the following rules when converting a numeric value to a Boolean:
Numeric 0 (zero) evaluates to false
All other numeric values evaluate to true
The server uses the following rules when converting a string to a Boolean:
Zero-length strings evaluate to false
The string 0 (zero) evaluates to false
All other strings evaluate to true