home.gif next.gif prev.gif



ATAN2

See also A-Z Spreadsheet Function List


Description Returns the arctangent of the specified coordinates.

Syntax ATAN2(x, y)

x is the x coordinate.

y is 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 -p to p, excluding -p.

See Also ATAN , ATANH , PI , and TAN functions

Examples ATAN2(3, 6) returns 1.11

         ATAN2(-1, .1) returns 3.04