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