Provide the smallest integer value that is equal to or greater than 25.75.
SELECT CEILING(25.75); |
The CEILING() function yields the smallest integer value that is equal to or greater than a given number.
Note: This function is equivalent to the CEIL() function.
CEILING(number) |
Parameter |
Description |
number |
Mandatory: A numerical value is necessary. |
Works in: | From MySQL 4.0 |
Provide the minimum integer value that is equal to or greater than 25.
SELECT CEILING(25); |