540
Tan
Returns the tangent of a given angle.
See also Atn, ASin, Cos,
Syntax
Tan( number )
number
Angle in radians for which you want the tangent. If the angle is in degrees,
multiply it by PI()/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>
Sin,
and Pi.
CFML Language Reference
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers