Description Returns the arctangent of the specified coordinates.
Syntax ATAN2 ( x, y )
Argument | Description |
---|---|
x | The x coordinate. |
y | The y coordinate. |
Remarks The arctangent is the angle from the x axis to a line with end points at the origin (0, 0) and a point with the given coordinates (x, y). The angle is returned in radians, ranging from -PI to PI, excluding -PI.
Examples This function returns 1.11:
This function returns 3.04: