Python -四捨五入/無條件進位/無條件捨去 ; import math num ; #四捨五入 print(round(num))#124 ; 2))#123.76 至小數點後2 位 ; '.3f'))#123.757 至小數點後3 ...
確定! 回上一頁