Syntax
DEGREES(x)
Purpose
DEGREES() converts the x argument from a radian to a degree and returns it.
Examples
The following examples respectively convert the values of PI() and PI()/2 into corresponding degrees.
obclient> SELECT DEGREES(PI());
+---------------+
| DEGREES(PI()) |
+---------------+
| 180 |
+---------------+
1 row in set
obclient> SELECT DEGREES(PI()/2);
+-------------------+
| DEGREES(PI()/2) |
+-------------------+
| 90 |
+-------------------+
1 row in set