ATAN2

Returns the arctangent for the given coordinates. The arctangent is the angle in radians between the lines drawn from {0,0} to {x-value, 0} and from {0, 0} to {x-value, y-value}. The result is expressed in radians between - and (but not including -).

Syntax

ATAN2(x-value,y-value)

Arguments

x-value X axis coordinate.
y-value Y axis coordinate.

Example

ATAN2(2,1) = 0.46364761 (about 26.5 degrees)