Atan2()

Summary

Computes the angle between the x-axis and the coordinate x_num, y_num.

Syntax

value = Atan2(real y_num, real x_num)

Argument Contents
y_num Any positive or negative number
x_num Any positive or negative number

Returns

A real number equal to the angle, in radians, between the x-axis and the coordinates x_num, y_num. The returned value lies between p and -p (excluding -p).

See Also

Function Summary
Atan() Computes the arctangent of a value
Tan() Computes the tangent of an angle expressed in radians