..
The IsNumeric function, Boolean, returns true if the value passatole as a parameter is numeric and false if not.
The syntax is as follows:
document.write (IsNumeric (5))Returns True
document.write (IsNumeric ("Luke"))
Returns False.
Dim value
value = "Luke"
If IsNumeric (Value) = False Then
document.write ('E' number ')
Else
document.write ("Not a number")
End If
Returns "is not a number."
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
Visual Basic 6 (Course)
Make Desktop Applications with VB6. From 39 €. |