只需一步,快速开始
php小数精确几位的方法:1、利用sprintf()函数来格式化,语法“sprintf(%.小数位数f,$num)”;2、利用number_format()函数,语法“number_format($num,'小数位数')”。
首页
分类
索引
我的