Product Solutions Support
Try MemSQL

CEIL

Rounds a number up to the next highest integer.

CEIL ( expression )
CEILING ( expression )

Arguments

Return Type

Integer.

Examples

memsql> select ceil(98.6), ceiling(-98.6);
+------------+----------------+
| ceil(98.6) | ceiling(-98.6) |
+------------+----------------+
|         99 |            -98 |
+------------+----------------+
Was this article useful?