Jump to: navigation, search

Mysql ATAN

From w3cyberlearnings

Contents

MySQL ATAN Function

This function returns the arc tangent of X. X is the value of tangent.

Syntax ATAN

X is the tangent value.

ATAN(X);

Example 1

mysql> SELECT ATAN(-9);
+-----------------+
| ATAN(-9)        |
+-----------------+
| -1.460139105621 |
+-----------------+
1 row in set (0.00 sec)

Example 2

mysql> SELECT ATAN(9);
+----------------+
| ATAN(9)        |
+----------------+
| 1.460139105621 |
+----------------+
1 row in set (0.00 sec)

Related Links


Navigation
Web
SQL
MISC
References