Arccosine function. The arccosine is the angle whose cosine is number.
The arccosine, in radians, of a number.
ACos(number)
Parameter |
Description |
---|---|
number |
Cosine of an angle. The value must be between -1.0 and 1.0, inclusive. |
The range of the result is 0 to p. To convert degrees to radians, multiply degrees by p/180. To convert radians to degrees, multiply radians by 180/p.
<cfscript> number=0.5; writeOutput(acos(0.5)); // Returns 1.04719755 </cfscript>
Sign in to your account