Spread 8.0 Documentation
ATAN2
Support Options
Formula Reference > Built-In Functions > ATAN2

Glossary Item Box

ATAN2


Name

Arctangent 2

Description

Returns the arctangent of the specified x- and y-coordinates. The result is given in radians between –π and π, excluding –π.

Syntax

ATAN2(value1, value2)

Remarks

The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a point with coordinates (value1, value2). If you want to convert the result to degrees, multiply it by 180/π.

See also ACOS, ACOSH, ASIN, ASINH, ATAN, ATANH, COS, COSH, SIN, SINH, TANH, and TAN.

Data Type

Accepts numeric data. Returns numeric data. For more information, see Data Type for Each Cell Type.

Example

ATAN2(R1C2,R3C5)
ATAN2(A1,C3)
ATAN2(1,1)=0.7853981634

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.