Skip to main content

floor

Overloads​

NameDescription
floor(real p) -> realRounds the given value downward to the nearest integer.
floor(integer p) -> integerRounds the given value downward to the nearest integer.
floor(bool p) -> boolRounds the given value downward to the nearest integer.

floor(real p) -> real​

Rounds the given value downward to the nearest integer.

Parameters​

  • p: The value to round downward.

floor(integer p) -> integer​

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.