2026.09.19(土) / 15:30

【Python】少数第〇〇位までを四捨五入する

最終更新
2026.09.19
タグ

#少数第2位まで四捨五入

number = 3.14159

print(round(number, 2)) # Output: 3.14