Javatpoint Logo
Javatpoint Logo

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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA