ATAN2(X, Y) |
![]() ![]() ![]() |
Description
This function returns the four-quadrant arc tangent of Y/X. At least one of the arguments must be non-zero. The result is the angle (in radians) ranging between -PI and +PI. To convert the result from radians to degrees, use the DEGREES function.
Parameters
X
A numeric value.
Y
A numeric value.
Examples
ATAN2(1, 1) = 0.78539816
ATAN2(A1, A2) = -0.78539816
Where A1 = 10 and A2 = -10.
ATAN2(D3, S5) = 1.5707963
Where D3 = 0 and S5 = 1.
ATAN2(0, 0) = #Error
One of the arguments must be non-zero.
DEGREES(ATAN2(1, 3)) = 71.565
Try Predictive Systems Lab
Need Help?
Contact support