# Floor

Floor() は、最も近い step [+ offset] の倍数まで x を切り下げます。 offset のデフォルト設定は 0 です。

これは、数値の切り上げに使用する ceil 関数とは対照的です。

構文:

Floor(x[, step[, offset]])

戻り値データ型： 数値

例と結果:

* Floor( 2,4 ): 0 を返します
* Floor( 4,2 ): 4 を返します
* Floor( 3.88 , 0.1 ): 3.8 を返します
* Floor( 3.88 , 5 ): 0 を返します
* Floor( 1.1 , 1 ): 1 を返します
* Floor( 1.1 , 1 , 0.5 ): 0.5 を返します

## 詳細を見る

* [Frac](https://help.qlik.com/ja-JP/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/frac.htm)
* [Ceil](https://help.qlik.com/ja-JP/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/ceil.htm)