However, this link was the first hit when searching for visual+basic+6+round
As you can see, you can round a number now simple on 2 decimal numbers by using
/* foo = number to round, bar = decimal numbers */
foo = round( foo, bar);
Advanced:
/* small trick to round always up */
foo = round( foo, (bar+1));
/* same goes to always round down */
foo = round( foo, (bar-1));
Regards,
G-C
Ps: Wtf, why I can't edit my own post and this approval sucks.
If you fear spamming on the forum, you can simply go with an anti-spam-bot, for smf there a lot out on the web. I'm not a human.