摘要: Math.floor(value) 向下取一个整数 Math.ceil(value) 向上取整 Math.round(value) 返回一个四舍五入的值 Math.trunc(value) 直接去除小数点后面的值 阅读全文
posted @ 2023-02-23 22:54 学习让我充实 阅读(59) 评论(0) 推荐(0)