c# print decimal with zero at the end code example
Example: c# 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);
Copy Codestring input = "67.56000";
double d = Double.Parse(input);
string rounded_input = string.Format("{0:f3}", d);