タイトル: ceil
Pythoのmathモジュールのceil関数の記事です。
【構文】
math.ceil(数値)
【説明】
引数の数値の小数点以下を切り上げます。
【例文】
print(
math.ceil(10.5)
);
【出力結果】
11
IT総合Wiki
Pythoのmathモジュールのceil関数の記事です。
【構文】
math.ceil(数値)
【説明】
引数の数値の小数点以下を切り上げます。
【例文】
print(
math.ceil(10.5)
);
【出力結果】
11