Built-in functions: math_ceil()
The function math_ceil() rounds a value to the next highest integer value.
Declaration
float math_ceil( float aValue )
Parameters
aValue
The value to round.
Discussion
The function math_ceil() calculates the next highest integer value of the value passed in the parameter aValue. For example:
var float result = math_ceil( 11.3 ); // result = 12.0 var float result = math_ceil( -5.3 ); // result = -5.0