タイトル: floor
SEOタイトル: Python math.floor の使い方(切り捨て)
Pythoのmathモジュールのfloor関数の記事です。
【構文】
math.floor(数値)
【説明】
引数の数値の小数点以下を切り下げます。
【例文】
print(
math.floor(10.5)
);
【出力結果】
10