TAN function

Syntax

TAN (expression)

Description

Use the TAN function to return the trigonometric tangent of expression. expression represents an angle expressed in degrees.

Trying to take the tangent of a right angle results in a warning message, and a return value of 0. Numbers greater than 1E17 produce a warning message, and 0 is returned. If expression evaluates to the null value, null is returned.

Example

PRINT TAN(45)

This is the program output:

1