Leave only two decimal places after the dot
// just two decimal places
String.Format("{0:0.00}", 123.4567); // "123.46"
String.Format("{0:0.00}", 123.4); // "123.40"
String.Format("{0:0.00}", 123.0); // "123.00"
http://www.csharp-examples.net/string-format-double/
edit
No idea why they used "String" instead of "string", but the rest is correct.
If you want to take just two numbers after comma you can use the Math Class that give you the round function for example :
float value = 92.197354542F;
value = (float)System.Math.Round(value,2); // value = 92.2;
Hope this Help
Cheers
yourValue.ToString("0.00") will work.
string.Format
is your friend.
String.Format("{0:0.00}", 123.4567); // "123.46"