Math > Math.abs
Math.absSyntax
Math.abs(x);
Arguments
x
Any number.
Description
Method; computes and returns an absolute value for the number specified by the argument x
.
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.