Return the arc tangent of different numbers with the atan() function:
The atan() function returns the arc tangent of arg as a numeric value between -Pi/2 and Pi/2 radians.
Parameter | Description |
---|---|
arg | Required. Specifies an argument to process |
Return Value: | The arc tangent of arg in radians |
---|---|
Return Type: | Float |
PHP Version: | 4+ |