This documentation is related to an older version of Firebolt. For the most current documentation, see Firebolt documentation.
RADIANS
Converts degrees to radians as a REAL
value.
Syntax
RADIANS(<value>)
Parameters
Parameter | Description | Supported input types |
---|---|---|
<value> | The value to be converted from radians | DOUBLE PRECISION |
Return Type
DOUBLE PRECISION
Example
The following example converts the value 180
in radians to a REAL
value:
SELECT
RADIANS(180);
Returns: 3.141592653589793