定義和用法. round() 方法可把一個數字舍入為最接近的整數。 注意: 2.49將舍入2 , 2.5將舍入3。 瀏覽器支持. Internet Explorer Firefox Opera Google Chrome Safari.
確定! 回上一頁