格式化,价格,保存到数据库有问题
Closed this issue · 0 comments
mkerj commented
number_format($totalPrice,2) // 15100.00
保存在数据库的值变成了:15.00
没有调用 number_format 没有问题。
thinkphp6.0 // version 6.0.1
Closed this issue · 0 comments
number_format($totalPrice,2) // 15100.00
保存在数据库的值变成了:15.00
没有调用 number_format 没有问题。
thinkphp6.0 // version 6.0.1