double a = 5.3124; a = Math.Round(a, 2); //a is now equal to 5.31
Math.Round(1.23)
double someValue = 2.346; String.Format("{0:0.00}", someValue);