c# print decimal with zero at the end

54

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);

Comments

Submit
0 Comments