num = 1.22334577901 # 保留两位小数print('{:.2f}'.format(num)) print('%.2f' % num) print(round(num, 2)).
確定! 回上一頁