Name
CEIL( )
Synopsis
CEIL(number
)
This function rounds a given floating-point number up to the next
higher integer. It’s an alias to CEILING()
.
SELECT CEIL(1), CEIL(1.1); +---------+-----------+ | CEIL(1) | CEIL(1.1) | +---------+-----------+ | 1 | 2 | +---------+-----------+
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.