ACos()
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
editThe 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 open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)