IsNumeric

Return TRUE if the expression is a valid number, otherwise return FALSE.

Syntax
      IsNumeric(expression)

Key
   expression    A string or numeric expression.

Examples

Dim boolDemo
boolDemo = IsNumeric(123.45)
Returns True
boolDemo = IsNumeric("123.45")
Returns True
boolDemo = IsNumeric("SS64")
Returns False

“Art is the elimination of the unnecessary” ~ Pablo Picasso

Related VBScript commands

Syntax - IsBlank function to detect Empty or NULL or Zero.


 
Copyright © 1999-2024 SS64.com
Some rights reserved