标签:ack express 输入 regular test jquer UNC res ida
validRate: function(val){
if(val === 100) return true
/* 0-99.99 的规则 */
let reg = /\d{1,2}(\.\d{1,2})?/
return reg.test(val)
}
https://stackoverflow.com/questions/23607381/jquery-validate-regular-expression-to-get-interest-rate
标签:ack express 输入 regular test jquer UNC res ida
原文地址:https://www.cnblogs.com/codebook/p/12120627.html