This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
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
DOUBLE PRECISION
Example
The following example returns the value 3
in degrees:
SELECT
DEGREES(3);
Returns: 171.88733853924697