public static ceil(x:Number) : Number
Returns the ceiling of the specified number or expression. The ceiling of a number is the closest integer that is greater than or equal to the number.
x:Number - A number or expression.
Number - An integer that is both closest to, and greater than or equal to, parameter x.
The following code returns a value of 13:
Math.ceil(12.5);