Returns the angle (in radians) from the X axis to a point (y,x).
Math.atan2(y, x)
Required. A numeric expression representing the cartesian x-coordinate.
Required. A numeric expression representing the cartesian y-coordinate.
The return value is between -pi and pi, representing the angle of the supplied (y,x) point.
Applies To: Math Object (JScript 5.6)
Version 1
Download Home Copyright © 2001-2024 adersοft