摘要: 保留n位小数 四舍五入 不四舍五入 $num = substr( sprintf( "%.3f" , $num), 0, - 1 ); // 10.45 阅读全文
posted @ 2019-06-21 15:50 大妖小白 阅读(2371) 评论(0) 推荐(0) 编辑