Math.atan Function (JavaScript)

Returns the arctangent of a number.

Syntax


Math.atan(number)   

Remarks

The required number argument is a numeric expression for which the arctangent is needed.

The return value is the arctangent of the number argument, in radians.

Applies To: Math Object

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.

See Also

Math.acos Function
Math.asin Function
Math.atan2 Function
Math.cos Function
Math.sin Function
Math.tan Function
Math Object