Syntax
DEGREES(x)
Purpose
The DEGREES() function converts the value of parameter x from radians to degrees and returns the converted value.
Examples
The following examples convert the value of PI() and the value of PI()/2 to 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
