atan2() function

Returns arcustangens of y/x using the signs of the two arguments to determine the quadrant of the result

Syntax

atan2(real, real)

Arguments

real -> y coordinate difference
real -> x coordinate difference

Example

atan2(1.0, 1.732) -> 0.523611477769969