Math.atandeg(number) +
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
Math.atandeg(x)

Arguments
x: A number or expression.

Returns
A number, the angle (in degrees) of arc tan (x).

Description
Calculates the arc tan (x).

Sample
Math.atandeg(1
); // returns 45 degrees

Note:
Requires Advanced Math Support. See here for more information

Flash MX Differences
This function is not implemented in Flash MX.

See Also
Math.acos(), Math.acosdeg(), Math.asin(), Math.asindeg(), Math.atan(), Math.atandeg(),
Math.cos(), Math.cosdeg(), Math.sin(), Math.sindeg(), Math.tan(), Math.tandeg(),
Math.atan2(y,x) and Math.atan2deg(y,x).