英文 發音首先來聽聽英文發音~。 ... 四捨五入puts 3.33.floor #轉成整數,無條件捨去puts 3.33.ceil #轉成整數,無條件進位puts 3.33.to_i #小數轉整數,無條件捨去 ...
確定! 回上一頁