Description Calculates the arctangent of y/x.
Syntax aTan = Atn2 ( y, x )
Parameters y As Double The numerator of the value whose arctangent is calculated.
x As Double The denominator of the value whose arctangent is calculated.
aTan (Double) The arctangent of y/x, in radians. Lies within a -p to +p range, depending on the signs of y and x.
Remarks This function calculates the arctangent of y/x and returns the value in radians.
See Also Examples
|