abs(x: f64) → f64
Category: [math](builtinsmath)_
Absolute value.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
wcl
abs(-7.5) // magnitude, dropping the sign → 7.5abs(x: f64) → f64
Category: [math](builtinsmath)_
Absolute value.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
abs(-7.5) // magnitude, dropping the sign → 7.5