Round Function Error

  • Thread starter Thread starter Arvind Mane
  • Start date Start date
A

Arvind Mane

Please see the following Macro

Sub Data1()

a = 1.845
a = Round(a, 2)

End Sub

i am getting "a" value as 1.84 instead of 1.85.
What should i do?
 
You don't need to do anything.

The value of 1.85 is correct (at least consistent with the worksheet function)
 
Back
Top