JavaScript Reference/Javascript Methods/atan

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

"atan()" Example

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



"atan()" is applied to

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



"atan()" Syntax, Parameters and Note

Note:
Arctangent value.
    
Syntax:
    
Math.atan(param1)

Parameters:
    param1   Required; the number to convert.