floor
Overloads
| Name | Description |
|---|---|
floor(integer p) -> integer | Rounds the given value downward to the nearest integer. |
floor(real p) -> real | Rounds the given value downward to the nearest integer. |
floor(bool p) -> bool | Rounds the given value downward to the nearest integer. |
floor(integer p) -> integer
Rounds the given value downward to the nearest integer.
Parameters
- p: The value to round downward.
floor(real p) -> real
Rounds the given value downward to the nearest integer.
Parameters
- p: The value to round downward.
floor(bool p) -> bool
Rounds the given value downward to the nearest integer.
Parameters
- p: The value to round downward.