Python 常用function與method. 數字(Number). Function. floor(num). 無條件捨去小數點位. >>> import math >>> my_num = 3.14 >>> print(math.floor(my_num)) 3 ...
確定! 回上一頁