DEGREES

Converts radians to degrees.

Syntax

DEGREES(numeric_expression NUMERIC) → FLOAT

  • numeric_expression: The number of radians. This must be DOUBLE, INTEGER, or FLOAT.

Examples

DEGREES example
SELECT DEGREES(PI())
-- 180.0
DEGREES example
SELECT DEGREES(0)
-- 0.0
DEGREES example
SELECT DEGREES(1)
-- 57.29577951308232

Last updated