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