floor1.0

floor number

Reports the largest integer less than or equal to number.

show floor 4.5
=> 4
show floor -4.5
=> -5

See also ceiling, round, precision.

Take me to the full NetLogo Dictionary