主页
JavaScript
JavaScript Math 数值运算
tryjs_math_round
运行 ❯
×
更改方向
保存代码
更改主题
JavaScript Math.round()
Math.round(x) 返回 x 的值四舍五入到最接近的整数: