JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Math.atan() Function

Name

Math.atan() Function---compute an arc tangent

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

Math.atan(x)

Arguments

x

Any number or numeric expression.

Returns

The arc tangent, in radians, of the specified value x.

Description

Math.atan() computes and returns the arc tangent, or inverse tangent, of its argument. The return value is between -pi/2 and pi/2 radians.

See Also

"Math", "Math.acos()", "Math.asin()", "Math.tan()"


Previous Home Next
Math.asin() Book Index Math.atan2()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell