C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL CEIL() FunctionThe ceil() is a Math function of MySQL. This function returns the smallest value which is greater than or equal to the given number. Syntaxselect ceil(num); Parameter:Num: number for getting ceil value ReturnsThis function returns the smallest integer value that is greater than or equal to a number. Example 1Select ceil(45.5); Output: ![]() Example 2Select ceil(45.5); Output: ![]() Example 3Select ceil(-45.1); Output: ![]() Example 4Select ceil(-45); Output: ![]()
Next TopicMySQL Math
|