M > Math.round |
![]() ![]() ![]() |
Math.round
math.round, round
Availability
Flash Player 5. In Flash Player 4, 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 Flash Player 5.
Usage
Math.round(
x
)
Parameters
x
A number.
Returns
A number.
Description
Method; rounds the value of the parameter x
up or down to the nearest integer and returns the value.
![]() ![]() ![]() |