|
ArcTangentXY Function |
Top Previous Next |
|
Returns the arc tangent of an angle specified in radians by the number X / Y. Returns result in radians. The range of the result is -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: "atan2".
Syntax
value = ArcTangentXY( X, Y )
iParameters
Example
value = ArcTangentXY( PI, 2 ) ' Returns 5.6. |