1、如题

比率等问题,不需要小数,也不需要四舍五入,直接干掉
2、直接上代码
方式有很多,直接使用**Math.trunc()**函数去掉所有小数点
javascript
let sms_num_per = Math.trunc(
(1 / 3) * 100
);