PHP function atan2()
Availability in PHP 4.0
Arc tangent of two variables
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$y |
float |
not | Dividend parameter |
$x |
float |
not | Divisor parameter |
Return values
float
The arc tangent of y/x in radians.