degrees
Description
Syntax:
DOUBLE degrees(DOUBLE x)
This function converts radians to degrees.
Example
mysql> select degrees(0);
+--------------+
| degrees(0.0) |
+--------------+
| 0 |
+--------------+
mysql> select degrees(2);
+--------------------+
| degrees(2.0) |
+--------------------+
| 114.59155902616465 |
+--------------------+
mysql> select degrees(Pi());
+---------------+
| degrees(pi()) |
+---------------+
| 180 |
+---------------+
Keywords
DEGREES