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