static void Main(string[] args) { double d = 2.23; string s = string.Format("{0:00.00}", d); Console.WriteLine(s);//00.23 Console.ReadLine(); }