繁体中文
设为首页
加入收藏
当前位置:ASP技术首页 >> ASP基础 >> Numeric Check with some Regular Expression magic

Numeric Check with some Regular Expression magic

2006-07-15 08:00:00  作者:  来源:互联网  浏览次数:0  文字大小:【】【】【
简介: // Checks that the string supplied can be expressed as a number (float) function isNumeric(strNumber) { return (strNumber.search(/^(-|\+)?\d+(\.\d+)?$/) != -1); } // Checks that the string suppli...

责任编辑:admin
相关文章