JavaScript 四捨五入、無條件捨去、無條件進位. Math.round() 四捨五入. Math.round(3.14) // 3. Math.round(5.49999) // 5. Math.round(5.5) // 6
確定! 回上一頁