數字型的資料型態(data type) ,包括整數(integer) 、浮點數(float-pointing number) 及 ... 從這裡可以看出利用int() 轉換為整數採取無條件捨去小數點後的數字。
確定! 回上一頁