ceil, dceil
返回大于或等于 x 的最小整数。
语法
CEIL(x);
参数说明
x: 支持的数据类型为 DOUBLE。
返回值说明
返回值的数据类型为 BIGINT。
示例
mysql> select ceil(3.14);
+------------+
| ceil(3.14) |
+------------+
| 4 |
+------------+
1 row in set (0.15 sec)
AI generated answers are based on docs and other sources. Please test answers in non-production environments.