Monday, June 27, 2016

string formattinf to round off 4 decimal values


double t="o.00005";
  string aa = String.Format("{0:0.#####}", t);

No comments:

Post a Comment