You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: <return|Returns> the smallest integer greater than or equal to number.
Introduced: 6.7
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
ceil(33.567) -- result is 34
Example:
ceil(-6.3) -- result is -6
Parameters:
number: Any number, or expression that evaluates to a number.
Returns: The <ceil> <function> <return|returns> an <integer>.
Description:
Use the <ceil> <function> to return the greatest integer less than or equal to a number.
The <ceil> function does not always <return(constant)> the <integer> closest to the <number>.. For example, ceil(5.1) <return(glossary)|returns> 6, but ceil(4.99) <return(glossary)|returns> 5.