On this page

    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

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