Example
Return the arc tangent of a number:
sql
SELECT ATAN(2.5);
Definition and Usage
The ATAN() function returns the arc tangent of one or two numbers.
Syntax
text
ATAN(number)
OR:
text
ATAN(a, b)
Parameter Values
| Parameter | Description |
|---|---|
| number | A numeric value |
| a, b | Two numeric values to calculate the arc tangent of |
Technical Details
| Works in: | From MySQL 4.0 |
|---|
More Examples
Example
Return the arc tangent of two values:
sql
SELECT ATAN(-0.8, 2);