Promotic
WikipediaLinkedInYoutubeTwitterFacebook

IsNumeric - function of language VBScript

Description:
Returns a Boolean value indicating whether an expression can be evaluated as a number.

In the PROMOTIC system it is better to use the method: Pm.ToNumber.

Syntax:
IsNumeric(expression As Variant) As Boolean
Calling:
b = IsNumeric(expression)
Parameters:
expression(Variant) Any valid expression.
Return Values:
true - if the entire expression is recognized as a number
false - otherwise Returns false if expression is a Date type.
Example:
Dim Var, bCheck
Var = 53
bCheck = IsNumeric(Var) ' Returns true
Var = "459.95"
bCheck = IsNumeric(Var) ' Returns true
Var = "45 Help"
bCheck = IsNumeric(Var) ' Returns false
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice