Javascript Reference
Categories: Math

javascript Math atan2( )

@March 15, 2008, 1:22 a.m.
atan2( )Firefox/Netscape/NN 2 IE 4 ECMA 1  

atan2(x, y)

  

Returns the angle (in radians) of angle formed by a line to Cartesian point x, y.

 
Parameters
 
  • Any number.
  • Any number.
 
Returned Value

Number between - and .


Powered by Linode.