可以用:round(数值,保留小数位数)

详情参考 https://www.cnblogs.com/herbert/p/3402245.html

posted on 2019-05-17 11:08  蛋尼  阅读(272)  评论(0编辑  收藏  举报