Round Function Error

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?
 
G

Gary''s Student

You don't need to do anything.

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