abs(x: f64) → f64

Category: [math](builtinsmath)_

Absolute value.

ParameterTypeDescriptionRemarks
xf64The input value.
returnsf64The result.
wcl
abs(-7.5)   // magnitude, dropping the sign → 7.5