Skip to main content
Version: current [25.x]

Categories: Math

DEGREES

Converts radians to degrees.

Syntax

DEGREES(numeric_expression NUMERIC) → FLOAT

  • numeric_expression: The number of radians. This must be an 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