round(x: f64) → f64
Category: [math](builtinsmath)_
Round to the nearest integer (ties away from zero).
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
wcl
round(2.5) // nearest integer (ties away from zero) → 3.0