floor 1.0
floor number
Reports the largest integer less than or equal to number.
show floor 4.5
=> 4
show floor -4.5
=> -5floor number
Reports the largest integer less than or equal to number.
show floor 4.5
=> 4
show floor -4.5
=> -5Take me to the full NetLogo Dictionary.