fuzz_64 wrote:
Does anyone know how to round a number (say 46.2153) to 46.22. I'm trying to make a program and I need the numbers I come up with to be accurate to 2 decimal places.
"The Round() function is new in VB6. It rounds a number to the specified decimal places. So Round(11/3, 3) would round the result of 11 divided by 3 to three decimal places. The second argument is optional and defaults to zero. Round() is also hampered by odd numbers rounding up and even numbers rounding down at .5"
http://www.raritanval.edu/departments/c ... esson7.htm
Hope that helps
Manta