Is there a floor command in smalltalk? I basically need to round number to the nearest whole number that is less than it as oppose to the round command which rounds it to the nearest whole number regrardless if it's higher or lower?
I tried this:
t1_ floor: t1
but it didn't work so either the command isn't called floor, there isn't one at all or I used the wrong syntax.
Offline