Important
The SingleStore 10 release candidate (RC) gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 9.0 is recommended for production workloads, which can later be upgraded to SingleStore 10.
CEIL
On this page
The CEIL() function rounds a number up to the next highest integer.
Syntax
CEIL ( expression )CEILING ( expression )
Arguments
-
expression: any valid numeric expression.
Return Type
Integer.
Examples
SELECT CEIL(98.6), CEILING(-98.6);
+------------+----------------+
| CEIL(98.6) | CEILING(-98.6) |
+------------+----------------+
| 99 | -98 |
+------------+----------------+Last modified: