ACos

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

ACos( number )

Returns: Number

Argument Description
number
number, required

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

Examples

The following code example will output an example number returned from the acos() function.

<cfset inputValue = 0.5>
<cfoutput>#aCos(inputValue)#</cfoutput>

See also