acos

Returns the angle whose cosine is the value passed as the argument.

acos(number) → returns numeric

Argument Reference

number numeric
Required

The value to be converted into an angle. Must be between -1 and 1.

Examples
Sample code invoking the acos function

acos(0.3)

Expected Result: 1.266103672779

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

Fork me on GitHub