ATN Function Details
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
ATN(numeric-expression)
Usage Notes
■ ATN (arctangent) is the inverse of tangent (TAN). ATN evaluates the
ratio of two sides of a right triangle (numeric-expression) and returns
the corresponding angle in radians. The expression evaluated is the
ratio of the lengths of the side opposite the angle and the side
adjacent to the angle. The arctangent is given in radians and is in the
range -pi/2 to pi/2 radians, where pi = 3.141593 and pi/2 radians = 90
degrees.
■ ATN is calculated in single precision if numeric-expression or angle is
an integer or single-precision value. If you use any other numeric data
type, they are calculated in double precision.