Math.tan Function (JavaScript)

Returns the tangent of a number.

Syntax


Math.tan(  
radians  
)  

Remarks

The required radians argument is a numeric expression that contains an angle measured in radians.

The return value is the tangent of the numeric argument of radians.

Requirements

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.

Applies To: Math Object

See Also

Math.acos Function
Math.asin Function
Math.atan Function
Math.atan2 Function
Math.cos Function
Math.sin Function