Knowledgebase:
IsNumericValue
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 02:31 PM

Syntax

Public Function IsNumericValue(vVal As Variant) As Boolean

This function is used to return a boolean value indicating whether an expression can be evaluated as a number.

Parameters

Key Description
vVal An expression of type variant to be indicated if is number or not.

Return value

 Returns true if the expression value is of numeric type.

Sample

Public Sub main()

AlertMessage IsNumericValue(5452) 'Returns true.

AlertMessage IsNumericValue("not numeric") 'Returns false.

End Sub


See Also


Back to VTL Client Script Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions