Ceiling

ceil( )


The ceiling operator calculates the ceiling of what is within its parentheses. The ceiling is the smallest integer that is greater than or equal to what is within its parentheses. For example, if you enter the number 2.8:


ceil(2.8)


the result of the rectangle would be 3.


If you enter the number -2.8:


ceil(-2.8)


the result would be -2.