article@endsection summary_large_image@endsection ceil < math < モジュール < 標準ライブラリ < 文法 < Python < プログラミング言語 - IT総合Wiki CWiki
1.

ceil

編集

Pythoのmathモジュールceil関数の記事です。

 

【構文】

math.ceil(数値)

 

【説明】

引数の数値の小数点以下を切り上げます。

 

【例文】

print(

math.ceil(10.5)

);

 

【出力結果】

11

 

編集
Post Share
子ページ

子ページはありません

同階層のページ
  1. ceil
  2. floor