ACos()
Returns the angle whose cosine is the value passed as the argument.
ACos( number=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
- Numbers
- Math
- numeric.aCos()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)