PHP 4, PHP 5, PHP 7, PHP 8
acos - Arc cosine

acos( float$num ): float

Returns the arc cosine of num in radians. acos is the inverse function of cos, which means that a==cos(acos(a)) for every value of a that is within acos' range.



The argument to process

Return Values

The arc cosine of num in radians.

Related Functions

Example of acos

Show all examples for acos

PHP Version:

Function acos:

Mathematical Functions Functions

Most used PHP functions