Copy Codestring input = "67.56000"; double d = Double.Parse(input); string rounded_input = string.Format("{0:f3}", d);