DEGREES

Converts x from radians to degrees.

Syntax

DEGREES (x)

Arguments

  • x: the argument in radians

Return Type

Float or double.

Examples

SELECT DEGREES(PI() / 2);
+-------------------+
| DEGREES(PI() / 2) |
+-------------------+
|                90 |
+-------------------+