ACos()

edit

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

ACos( number=number );

Returns: Number

Argument Description
number
number, required
edit

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

Examples

edit

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

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

See also