Skip to main content

floor

Overloads

NameDescription
floor(integer p) -> integerRounds the given value downward to the nearest integer.
floor(real p) -> realRounds the given value downward to the nearest integer.
floor(bool p) -> boolRounds 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.