Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

CEIL

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:

Was this article helpful?