bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL CEILING() Function

Example

SELECT CEILING(25.75);

Definition and Usage

The CEILING() function returns the smallest integer value that is bigger than or equal to a number.

Note

This function is equal to the CEIL() function.

Syntax

CEILING(
number
)

Parameter Values

ParameterDescription
numberRequired. A numeric value

Technical Details

Works in:From MySQL 4.0

Previous

MySQL CEIL() Function

Next

MySQL COS() Function