I need double value to be rounded to 2 digits. What is preferrable?
String.Format(\"{0:0.00}\", 123.4567); // \"123.46\" Math.Round(123.4567, 2)
That depends on what you want to do with it.
String.Format will return a string, Math.Round(double) will return a double.
String.Format
Math.Round(double)