floor
Round down to the nearest integer or to N decimals
floor(
n,
[decimals=0]
) -> FLOAT
Round down to the nearest integer or to N decimals
Syntaxe
floor(PI) floor(PI,2)
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
n | yes | - | Number | |
decimals | - | 0 | Number of decimals |