/ Published in: JavaScript
![](/img/icon_sav.png?v3)
With decimal separator "."
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function checkNumeric(value){ var anum=/(^\d+$)|(^\d+\.\d+$)/ if (anum.test(value)) return true; return false; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)