Returns the tangent of an angle.
Tan(number)
Parameter |
Description |
---|---|
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. |
<!--- 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>