2014年3月4日 ... 我們常常需要對數字做運算並將結果無條件進位、四捨五入或無條件捨去, ... ( Math. round(1.2) ); // 四捨五入; alert( Math.floor(1.2) ); // 無條件捨去.
www.google.com.tw