摘要: that.value = that.value.replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3'); //只能输入两个小数 https://blog.csdn.net/qq_24935119/article/details/96437971 https://ww 阅读全文
posted @ 2020-08-06 11:27 Peter_Yang0942 阅读(757) 评论(0) 推荐(0) 编辑