/ Published in: JavaScript
URL: http://www.ansermot.ch/devs/snippets/2011/javascript-test-if-variable-is-numeric.html
Works !
Expand |
Embed | Plain Text
function isNumeric(input) { return (input - 0) == input && input.length > 0; }
You need to login to post a comment.
