ATAN2

ATAN2 the arc tangent of the ratio y/x

Synopsis

ATAN2(x,y)

Arguments

x: x-coordinate

y: y-coordinate

Description

ATAN2 calculates the direction from the origin to the point (x,y) as an angle from the x-axis in radians.

Note

The result will be between −π and +π. The order of the arguments may be unexpected.

Microsoft Excel Compatibility

This function is Excel compatible.

OpenDocument Format (ODF) Compatibility

This function is OpenFormula compatible.

See also

ATAN, ATANH, COS, SIN.