Math > Math.ceil
Math.ceilSyntax
Math.ceil(
x
);
Arguments
x
A number or expression.
Description
Method; 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.
Player
Flash 5 or later. In the Flash 4 Player, the methods and properties of the Math object are emulated using approximations and may not be as accurate as the non-emulated math functions supported by the Flash 5 Player.