JavaScript Reference/Javascript Methods/atan

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

"atan()" Example

   <source lang="javascript">
   

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


     </source>
   
  


"atan()" is applied to

   <source lang="javascript">

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

     </source>
   
  


"atan()" Syntax, Parameters and Note

   <source lang="javascript">

Note: Arctangent value.

Syntax:

Math.atan(param1)

Parameters:

   param1   Required; the number to convert.
   
     
     </source>