atan2 Function

Returns the principal value of the arc tangent of y/x, expressed in radians. To compute the value, the function takes into account the sign of both arguments in order to determine the quadrant. The arguments may be zero.

Arguments

Number Type Compulsory Default Description
1 Real Yes Y
2 Real Yes X

Argument 1

Y

Argument 2

X

Returns

Return type: Real

atan(y/x) in radians