excel vba double with 2 decimal places code example
Example: how to correct a number to 2 decimal places in vba
Sub rounding()
ActiveCell.Select Selection.Value = Format(ActiveCell, "#.00")
End Sub
Sub rounding()
ActiveCell.Select Selection.Value = Format(ActiveCell, "#.00")
End Sub