Math > Math.atan

Math.atan

Syntax

Math.atan(x);

Arguments

x Any number.

Description

Method; computes and returns the arc tangent for the number specified in the argument x. The return value is between negative pi divided by 2, and positive pi divided by 2.

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.