csharp print decimal with zero at the end

Code Example - csharp print decimal with zero at the end

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