Account
Categories

MySQL CEIL()


CEIL()
It converts the number (argument) into the smallest integer that is greater than or equal to the given number.

Syntax:

CEIL(number)

Example:

SELECT CEIL(4.2) AS Result;
    

Output:

 
 5