Cypher Radians Function

radians() converts degrees to radians.

Syntax: radians(expression)

Returns: A Float.

Arguments

NameDescription
expressionA numeric expression that represents the angle in degrees.

Example

RETURN radians(42)

The value returned will be value of 42 degrees in radians, which is 0.7330382858376184

Considerations

  • radians(null) returns null.

Example

RETURN radians(0)

Returns the following Result

radians(0)
0.0

Example

RETURN radians(1)

Returns the following Result

radians(1)
0.017453292519943295

Example

RETURN radians(90)

Returns the following Result

radians(90)
1.5707963267948966

RETURN radians(-180)

Returns the following Result

radians(90)
-3.141592653589793

Example

RETURN radians(null)

Returns the following Result

radians(null)
null

Noteradians(null) returns null.

Learn More