Tan

Returns the tangent of a given angle.

See also Atn, Cos, Sin, and Pi.

Syntax

Tan(number)
number

Angle in radians for which you want the tangent. If the angle is in degrees, multiply it by /180 to convert it to radians.

Examples

<!--- This example shows Tan --->
<HTML>
<HEAD>
<TITLE>
Tan Example
</TITLE>
</HEAD>

<BODY>
<H3>Tan Example</H3>

<P>Returns the tangent of a given angle.

<P>Tan(1): <CFOUTPUT>#Tan(1)#</CFOUTPUT>
<P>Tan(Pi()/4): <CFOUTPUT>#Tan(Pi()/4)#</CFOUTPUT>

</BODY>
</HTML>