JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Math.acos() Function

Name

Math.acos() Function---compute an arc cosine

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

Math.acos(x)

Arguments

x

A number or numeric expression between -1.0 and 1.0.

Returns

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

Description

Math.acos() computes and returns the arc cosine, or inverse cosine of the specified argument. The argument must be a value between -1.0 and 1.0. The return value is between 0 and pi radians.

See Also

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


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

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.