Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript IsNumeric Function

VBScript IsNumeric Function


VBScript reference manual 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 »


VBScript reference manual Complete VBScript Reference Manual