JavaScript round () 方法JavaScript Math 对象实例round() 方法可把一个数字舍入为最接近的整数: Math.round(2.5); 输出结果: 3 尝试一下» 定义和用法round() 方法可 ...
確定! 回上一頁