floor(x: f64) → f64
Category: [math](builtinsmath)_
Round down to the nearest integer.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
wcl
floor(3.9) // round down to a whole number → 3.0floor(x: f64) → f64
Category: [math](builtinsmath)_
Round down to the nearest integer.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| x | f64 | The input value. | — |
| returns | f64 | The result. | — |
floor(3.9) // round down to a whole number → 3.0