Hi,
I'm trying to use the VBA Round() function in excel but I'm getting odd results sometimes. Example below.
Number to round to 7 decimal places: 0.71263125
Using the VBA Round() function returns 0.7126313 which is incorrect.
It should be 0.7126312.
However what's really strange is that if I change the original number to
0.71263225 (i.e. the 6th number), I get the correct answer of 0.7126322.
Two other examples of it not working correctly are (rounding to 7):
2.27683045 rounds to 2.2768305
3.00487565 rounds to 3.0048757
Any ideas why this is happening?
Thanks.
Bookmarks