您的位置: 首页 > 文章 > 保留两位小数位 保留两位小数位 分类: 文章 • 2022-08-21 00:14:05 保留两位小数位 Math.round(brothVal * Math.pow(10, 2)) / Math.pow(10, 2);