Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

ATAN(X) returns the arc tangent of X

mysql> mysql> SELECT ATAN(2); +-----------------+ | ATAN(2)         | +-----------------+ | 1.1071487177941 | +-----------------+ 1 row in set (0.02 sec) mysql> SELECT ATAN(-2); +------------------+ | ATAN(-2)         | +------------------+ | -1.1071487177941 | +------------------+ 1 row in set (0.00 sec) mysql>