02-02-2004, 09:02 AM
Aga, I'll have to check your solution out more carefully. However, what I usually do is scale my numbers to be rounded first, and then divide the result to re-scale to the number of decimals that I need for output. I have found that it's good practice to keep numbers as whole numbers internal to the program with implied decimals.
*****
*****