Home » MySQL Math CEILING() Function

MySQL Math CEILING() Function

by Online Tutorials Library

MySQL CEILING() Function

The ceiling() is a Math function of MySQL. This function returns the smallest value which is greater than or equal to the given number.

Syntax

Parameter:

Num: It is the number for getting ceiling value.

Returns

This function returns the smallest value which is greater than or equal to the given number.

Example 1

Output:

MySQL Math CEILING() Function

Example 2

Output:

MySQL Math CEILING() Function

Example 3

Output:

MySQL Math CEILING() Function

Next TopicMySQL Math

You may also like