Cypher Degrees Function

degrees() converts radians to degrees.

Syntax: degrees(expression)

Returns: A Float.

Arguments

NameDescription
expressionA 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) returns null.

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

Notedegrees(null) returns null.

Learn More