VBScript CBool
Function
The CBool function converts an expression to a Boolean type.
The expression must be a numeric value.
Syntax
Parameter | Description |
---|---|
expression | Required. Any valid expression. Non-zero values return True, zero returns False. If the expression cannot be interpreted as a numeric value, a run-time error occurs. |
Example
Example
The above example output: