M > Math.tan

 

Math.tan

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

Parameters

x An angle measured in radians.

Returns

A number.

Description

Method; computes and returns the tangent of the specified angle. To calculate a radian, use the information outlined in the introduction to the Math (object).