函数如下,
$product['price1']=number_format($product['price1'],2);解决办法:
$product['price1']=number_format($product['price1'],2);这一行修改为 $product['price1']=$product['price1'];
以上就是php如何去掉千分位的详细内容!
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did54380
php如何去掉千分位
阅读:47次