Calculates the tangent of an angle.
A number; the tangent of an angle.
Tan(number)
Parameter | Description |
---|---|
number |
Angle, in radians. To convert an angle from degrees to radians, use the PI function, and multiply the degrees by PI/180. |
<h3>Tan Example</h3> <p>Returns the tangent of an angle. <p>Tan(1): <cfoutput>#Tan(1)#</cfoutput> <p>Tan(Pi()/4): <cfoutput>#Tan(Pi()/4)#</cfoutput>