math.todegrees() - Pine Script Function
math.todegrees()
Section titled “math.todegrees()”Overview
Section titled “Overview”Returns an approximately equivalent angle in degrees from an angle measured in radians.
Syntax
Section titled “Syntax”math.todegrees(radians) → series floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| radians | series int/float | Angle in radians. |
Returns
Section titled “Returns”The angle value in degrees.