25
rated 0 times
[
28]
[
3]
/ answers: 1 / hits: 27574
/ 15 Years ago, sun, march 1, 2009, 12:00:00
In PHP, it's pretty easy:
is_numeric(23);//true
is_numeric(23);//true
is_numeric(23.5);//true
is_numeric(true);//false
But how do I do this in Javascript?
I could use a regular expression, but is there a function for this?
More From » javascript