cos

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

cos(number) → returns numeric

Argument Reference

number numeric
Required

The angle, in radians, for which to calculate the cosine

Examples
Sample code invoking the cos function

cos(0.3)

Expected Result: 0.955336489126

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

Fork me on GitHub