摘要: Math.round(x) 将数字舍入为最接近的整数。 Math.floor(x) 将数字向下舍入到最接近的整数。 Math.ceil(x) 将数字向上舍入到最接近的整数。 Math.abs(x) 获取数字的绝对(正)值。 Math.min(x, y, ...) 从数字列表中找出最小值。 Math. 阅读全文
posted @ 2023-11-06 18:30 江月年年何相似 阅读(60) 评论(0) 推荐(0)