ATAN2

Returns the angle theta of the polar coordinates (r, theta) that correspond to the rectangular coordinates (x, y) by calculating the arc tangent of the value y / x; the returned value is an angle in the range from -PI to PI radians.

Usage: atan2(y, x)

See also