es6的数字处理的方法(5个) Math trunc方法用于去除一个数的小数部分,返回整数部分。 Math trunc(4 1) 4 Math trunc(4 9) JavaScript 2022-04-10 275 点赞 4 评论 416 浏览