Skip to main content
Version: 24.3.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