IsNumeric Function

Tests if an expression is a number. If the expression is a number, the function returns True, otherwise the function returns False.

தொடரமைப்பு:


IsNumeric (Var)

Return value:

Bool

அளவுருக்கள்:

Var: Any expression that you want to test.

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:


Sub ExampleIsNumeric
Dim vVar As Variant
    vVar = "ABC"
    Print IsNumeric(vVar) ' Returns False
    vVar = "123"
    Print IsNumeric(vVar) ' Returns True
End Sub

Please support us!