M > Math.abs |  |

Math.abs

math.abs, abs, absolute

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.abs(x)

Parameters

`x` A number.

Returns

A number.

Description

Method; computes and returns an absolute value for the number specified by the parameter `x`.