Tan

The Tan function returns the tangent of a specified number (angle).

Syntax :

Tan(number)
Parameters Description
number Required. A valid numeric expression that expresses an angle in radians.

Example :

dTan = (Tan(40) & "<br />")
dTan = (Tan(-40))
DEBUG(dTan)

Result :

dTan
= -1.1172149309239
= 1.1172149309239