radians(x: number) → f64
Category: [math](builtinsmath)_
Convert an angle from degrees to radians.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | number | The input value (any number, widened to f64). | — |
| returns | f64 | The result, as an f64. | — |
wcl
radians(180.0) // convert 180 degrees to radians → 3.141592653589793