DEGREES

Converts a value in radians to degrees.

Syntax

DEGREES(<value>)

Parameters

Parameter Description Supported input types
<value> The value to be converted to degrees from radians. DOUBLE PRECISION

Return Types

DEGREES returns a value of type DOUBLE PRECISION.

Example

The following example converts the value 3.14 in radians to degrees:

SELECT degrees(3.14) as result;

Returns

result (DOUBLE PRECISION)
179.9087476710785