TAN Function

The TAN function returns the trigonometric tangent of the expression.

Format

TAN(expr)

Description

The expression expr is treated as an angle expressed as a numeric value in degrees. Values outside the range of 0 to 360 degrees are interpreted as modulo 360.

Example

To assign the variable TANGENT to the tangent of an angle ANGLE, type:

TANGENT = TAN(ANGLE)

See Also

Statement and Function Reference