S
Shoe
If I remember correctly when rounding to the nearest, the number 5 is the
cutoff for rounding up.
When I use the ROUND function in VBA for ACCESS or EXCEL that does not happen.
If I run the function: ROUND(4.25, 1) I get 4.2 as the result.
If I run the function: ROUND(4.26, 1) I get 4.3 as the result.
Now If I go to Excel and run the ROUND function in the Cells I get 4.3 as a
result for both ways above.
Am I doing something wrong or does VBA use 6 as the cutoff for rounding to
the nearest?
Thanks.
cutoff for rounding up.
When I use the ROUND function in VBA for ACCESS or EXCEL that does not happen.
If I run the function: ROUND(4.25, 1) I get 4.2 as the result.
If I run the function: ROUND(4.26, 1) I get 4.3 as the result.
Now If I go to Excel and run the ROUND function in the Cells I get 4.3 as a
result for both ways above.
Am I doing something wrong or does VBA use 6 as the cutoff for rounding to
the nearest?
Thanks.