526互联
首页
Ai
Java
Python
Android
Mysql
JavaScript
Html
CSS
0.01
js 0.02 - 0.01 - 0.01 怎么得出 0.00999999999,如何修正
![](https://img2023.cnblogs.com/blog/1202393/202307/1202393-20230727110444524-1773814573.png) ![](https://img2023.cnblogs.com/blog/1202393/202307/1202 ......
0.01
0.00999999999
00999999999
0.02
01
更新时间 2023-07-27
TP5 验证金额是两位小数 ,1.2, 1, 0.01, 0.1都可以
'amount|价格' => ['require', 'max:128', 'float','>:0', 'regex' => '^(([1-9]{1}\d*)|(0{1}))(\.\d{1,2})?$'], ......
小数
金额
0.01
TP5
1.2
更新时间 2023-06-08
共2篇 :1/1页
首页
上一页
1
下一页
尾页