Learn GREEK with Easy Online Lessons, Discussions
Click HERE for details...

ASP isNumeric Function

The ASP isNumeric() function is used to check if a string contains a numeric value.

isNumeric Function Arguments

String to be tested

ASP Coding for isNumeric Function


sTxtString = "How is John?"
If isNumeric(sTxtString) Then

Response.Write "Yes"


Response.Write "No"




isNumeric Functions Results
isNumeric(12345) Yes
isNumeric(12345.50) Yes
isNumeric(12345.5025) Yes
isNumeric("12345abcd") No