JavaScript Reference/Javascript Methods/acos

Материал из Web эксперт
Перейти к: навигация, поиск

"acos()" Example

    
<html>
<body>
<button onclick="alert(Math.acos(1));">ACOS</button>
</body>
</html>



"acos()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |Math                                                          |
+----------------+--------------------------------------------------------------+



"acos()" Syntax, Parameters and Note

Note:
Returns the arccosine value.
    
Syntax:
    
Math.acos(param1)
Parameters:
    param1   Required; the number to convert.