阅读背景:

Javascript - 我怎么能改变我的正则表达式,^ \ d * \。?\ d {0,2} $,允许逗号而不是小数点?

来源:互联网 

I'm using the pattern ^\d*\.?\d{0,2}$ to display currency, e.g. it only allows allows numbers before an optional decimal point and two decimal place after the decimal point. to displa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: