Math.tandeg(degrees) +
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
Math.tandeg(x)

Arguments
x: A number or expression representing the angle in degrees.

Returns
A number, the tangent of (x).

Description
Calculates the tangent of x.

Sample
Math.tandeg(45
);   // returns 1 (tan 45deg = 1)

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.asin(), Math.atan(), Math.cos(), Math.cosdeg(), Math.sin(), Math.sindeg() and Math.tan().