Did you know that there were TWO division operators in LotusScript? I didn't, until I realized that the one I was using was the wrong one.
When you do division using two Integers and want an Integer result, the choice that some piece of code, somewhere has to make is: If the result is not an Integer (for example 5 divided by 3), do I round the result? Or, truncate the result?
Sometimes you want one, sometimes you want the other. It turns out that you, the developer, get to (have to!) pick. Read all the gory details here:
(if the link doesn't work for you by clicking, just copy it and paste into your browser)