php 保留小数点


$n=round(1.95583, 2);
这是四舍五入法保留2位小数
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3