If you are talking integrer arithmetic then I would have been extremely 
surprised if there was any rounding.  Truncation is the norm.  12/5 == 14/5 == 2

I tested this with an AL on 7 and it is indeed so.

If we're dealing with reals there is also no rounding.  (untested).  This is 
how the hardware acts.  On reals you simply make your calculation different.

If you want to round on ints then you could also do a different calculation:  
((($int1$ * 10) / $int2$) + 5) / 10.  In this case, the results are rounded:   
12/5 ==2 14/5 == 3.

Cheers
Ben Chernys

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to