RADIANS
Converts degrees to radians.
Syntax
RADIANS(<value>)
Parameters
Parameter | Description | Supported input types |
---|---|---|
<value> | The value to be converted to radians | DOUBLE PRECISION |
Return Type
DOUBLE PRECISION
Example
The following example converts the value 180
in degrees to radians:
SELECT radians(180.0) as result;
result (DOUBLE PRECISION) |
---|
3.141592653589793 |