07-02-2003, 06:29 PM
this rounds abd is 1 line of code minus the lines that define the variables.
This is actually ALauzier's but I just posted it
Code:
dec = 1 'how many decimal places to round
num = 2.56 'number to round
PRINT INT(10 ^ dec * num + .5) / 10 ^ dec