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.
Math.abs(x)
x
A number.
A number.
Method; computes and returns an absolute value for the number specified by the parameter x
.