floor ( x -- y )
Factor handbook » The language » Numbers » Mathematical functions » Arithmetic functions

Prev:ceiling ( x -- y )
Next:truncate ( x -- y )


Vocabulary
math.functions

Inputs
xa real


Outputs
ya whole real number


Word description
Outputs the greatest whole number smaller than or equal to x.

Notes
The result is not necessarily an integer.

Definition