tan

Calculates the tangent of an angle that is entered in radians.

tan(number) → returns numeric

Argument Reference

number numeric
Required

Angle, in radians, for which to calculate the tangent

Examples
Sample code invoking the tan function

tan(0.3)

Expected Result: 0.30933624961

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub