2023-06-22 Python - math.ceil(x):x以上の最小整数値 mathモジュール Python3 概要 インポート 実行結果 表示イメージ 概要math.ceil(x) x以上の最小int値 mathモジュール インポート import math 実行結果 import math print(math.ceil(123.456789)) print(math.ceil(123)) 表示イメージ 124 123