Please enable JavaScript to view this site.

ESL Documentation

MATHLIB Function

Return the tangent of a number in degrees.

TAN(DEGREES_FV)

DEGREES_FV

A floating point value whose tangent you want returned as degrees. Do not specify 90 or 270.

Description

Use this function to return the tangent of DEGREES_FV in degrees. To convert degrees to radians, multiply degrees by 0.0174532926.

Errors

TAN: not defined for 90 or 270 degrees; returning 0.0.

Either 90 or 270 degrees was specified, so the function returned the value 0.0 and placed this message in the ESL errorlog.