degrees

Generic Description

Converts radians to degrees for readable angular output. It is documented separately because numeric transforms change ranking, thresholds, and buckets in ways planner tools must not guess.

Simple example:

RETURN degrees(pi()) AS value

Consumer-Level Explanation

Use it when a calculation is done in radians but the result should be inspected by humans. Prefer this function when the transformation is a deliberate part of the model or report, and name the derived value in a WITH stage when it will be reused.

More Detailed Explanation

degrees is scalar math, so it is evaluated per row after graph patterns, procedure output, or map projections have produced values. Keep it close to the query when thresholds, ranking, and derived fields need to be auditable and reproducible.

Advanced Example

This example applies degrees to a named score component after matching graph data, making the derived metric reviewable before ordering.

WITH [0.0, pi() / 2.0, pi()] AS radians_values
UNWIND radians_values AS radians_value
RETURN radians_value, degrees(radians_value) AS degrees_value

Real Use Cases

Real Limitations And Tradeoffs