Math.floor
floor — Rounds down to the closest whole number.
Description
Math.floor(number number)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
number | number | No |
Examples
Example #1 – floor example
floor — Rounds down to the closest whole number.
Math.floor(number number)
Name | Description | Type | Default | Optional |
---|---|---|---|---|
number | number | No |