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