メインコンテンツまでスキップ
バージョン: 3.1

ceiling

説明​

入力 arg から、最も近い等しいまたは大きい整数に丸めた値を返します。

構文​

ceiling(arg)

パラメータ​

arg は DOUBLE データ型をサポートします。

戻り値​

BIGINT データ型の値を返します。

例​

mysql> select ceiling(3.14);
+---------------+
| ceiling(3.14) |
+---------------+
| 4 |
+---------------+
1 row in set (0.00 sec)
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.