PHP cos() Function
The cos() function returns the cosine of a number.
float cos ( float $arg )
cos() returns the cosine of the arg parameter. The arg parameter is in radians.
Example -
Parameter | Description
|
arg | An angle in radians
|
Return Values -
The cosine of arg