blob: 525ef3b9886aabbb515133baa28c66a57258fdcc [file] [log] [blame] [view]
---
{
"title": "ATAN",
"language": "en"
}
---
## atan
### description
#### Syntax
`DOUBLE atan(DOUBLE x)`
Returns the arctangent of `x`, where `x` is in radians.
### example
```
mysql> select atan(0);
+-----------+
| atan(0.0) |
+-----------+
| 0 |
+-----------+
mysql> select atan(2);
+--------------------+
| atan(2.0) |
+--------------------+
| 1.1071487177940904 |
+--------------------+
```
### keywords
ATAN