Math.round() 四捨五入. Math.floor() 取小於這個數的最大整數. Math.ceil() 取大於這個數的最小整數 alert(Math.round(12.3)); //12 ...
確定! 回上一頁