radians(x: number) → f64

Category: [math](builtinsmath)_

Convert an angle from degrees to radians.

ParameterTypeDescriptionRemarks
xnumberThe input value (any number, widened to f64).
returnsf64The result, as an f64.
wcl
radians(180.0)   // convert 180 degrees to radians → 3.141592653589793