Update cookies preferences

IsNumeric - function of language VBScript

Returns a Boolean value - specifies whether an expression can be evaluated as a number.
In the PROMOTIC system it is better to use Pm.IsValid(Pm.ToNumber(expression))
or Pm.GetVarType, Pm.IsInt, etc.
Boolean IsNumeric(Variant expression)
expression(Variant) Any valid expression.
Return value:
true - If expression is recognized as a number
false - Otherwise (e.g. if expression is of the Date type)
VBScriptSelect and copy to clipboard

Dim Val, bCheck
Val = 53
bCheck = IsNumeric(Val)   ' Returns the true value
Val = "459.95"
bCheck = IsNumeric(Val)   ' Returns the true value
Val = "45 Help"
bCheck = IsNumeric(Val)   ' Returns the false value
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.