C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL CEILING() FunctionThe ceiling() is a Math function of MySQL. This function returns the smallest value which is greater than or equal to the given number. Syntaxselect ceiling(num); Parameter:Num: It is the number for getting ceiling value. ReturnsThis function returns the smallest value which is greater than or equal to the given number. Example 1Select ceiling(85.13); Output: Example 2Select ceiling(85.1); Output: Example 3Select ceiling(-85.21); Output:
Next TopicMySQL Math
|