Outdated Version

You are viewing an older version of this section. View current production version.

DEGREES

Converts x from radians to degrees.

Syntax

DEGREES (x)

Arguments

  • x: the argument in radians

Return Type

Float or double.

Examples

memsql> select DEGREES(PI() / 2);
+-------------------+
| DEGREES(PI() / 2) |
+-------------------+
|                90 |
+-------------------+