Returns the arc tangent of an angle specified in radians by the number X / Y.

 

Returns result in radians within the range of -PI to PI radians.

 

The ArcTangentXY function uses the signs of both parameters to determine the quadrant of the return value.

 

To convert angle from radians to degrees use RadiansToDegrees function.

 

Short form name: "Atan2"

Syntax:

value = ArcTangentXY( X, Y )

 

Parameter:

Description:

X

Any value or expression.

Y

Any value or expression.

 

Example:

value = ArcTangentXY( PI, 2 ) ' Returns 5.6

Returns:

Arc tangent of ( x / y )

 

Links:

 

See Also:

Mathematical Functions

 


Edit Time: 9/18/2020 12:15:47 PM


Topic ID#: 24

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software