YouTip LogoYouTip

Func Isnumeric

# 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 evaluates to a number; otherwise, it returns False. **Note:** If the expression is a date, the IsNumeric function will return False. ### Syntax IsNumeric(expression) | Parameter | Description | | :--- | :--- | | expression | Required. An expression. | ## Example ## Example Dim x x=10 document.write(IsNumeric(x) & "
") x=Empty document.write(IsNumeric(x) & "
") x=Null document.write(IsNumeric(x) & "
") x="10" document.write(IsNumeric(x) & "
") x="911 Help" document.write(IsNumeric(x)) The output of the above example is: True True False True False [Try it Β»](#) * * Complete VBScript Reference Manual](#) AI is thinking... [](#)(#) (#)[](#) [Byte Ark Coding Plan supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, etc., with official direct supply that is stable and reliable. Β₯9.9/month Activate now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
← Func IsobjectFunc Isnull β†’