VBScript IsNumeric Function
Complete VBScript Reference Manual
The IsNumeric function returns a Boolean value indicating whether the specified expression can be evaluated as a number. It returns True if the expression can be evaluated as a number, otherwise it returns False.
**Note:** If the expression is a date, the IsNumeric function returns False.
Syntax
IsNumeric(expression)
| Parameters | Description |
|---|---|
| expression | Required. An expression. |
Example
Example
The example above produces the following output:
True
True
False
True
False
Try it »
Complete VBScript Reference Manual