degrees()
converts radians to degrees.
Syntax: degrees(expression)
Returns: A Float.
Arguments
Name | Description |
expression | A numeric expression that represents the angle in radians. |
Example
RETURN degrees(4)
The value returned will be value of 4 radians in degrees, which is 229.1831180523293
Considerations
degrees(null)
returnsnull
.
Example
RETURN degrees(0)
Returns the following Result
degrees(0) |
0.0 |
Example
RETURN degrees(1)
Returns the following Result
degrees(1) |
57.29577951308232 |
Example
RETURN degrees(-1.5)
Returns the following Result
degrees(-1.5) |
-85.94366926962348 |
Example
RETURN degrees(null)
Returns the following Result
degrees(null) |
null |
Note– degrees(null)
returns null
.