vba round to 1 decimal place code example
Example: vba round to 2 decimals
Debug.Print Round(10.3456, 2) ' 10.35 Double
Debug.Print Format(10.3456, "0.00") ' 10.35 String (Variant)
Debug.Print Round(10.3456, 2) ' 10.35 Double
Debug.Print Format(10.3456, "0.00") ' 10.35 String (Variant)