Calculate the arc tangent of two values:
| SELECT ATAN2(0.50, 1); |
The ATAN2() function yields the arctangent of two numerical inputs.
| ATAN2(a, b) |
|
Parameter |
Description |
|
a, b |
Mandatory: Two numerical values needed for computing the arctangent. |
| Works in: | From MySQL 4.0 |
Compute and provide the arctangent of two given values.
| SELECT ATAN2(–0.8, 2); |