ceil

 
 
 

Returns a number rounded to the smallest integer value greater than or equal to a floating point number.

float ceil(float number)

number is the number you want to round.

Examples

ceil(2.344)

Returns 3.

ceil(3.0)

Returns 3.

ceil(Rock.scaleY)

If Rock.scaleY contains -2.82, this returns -2.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License