Return to Snippet

Revision: 14479
at June 5, 2009 05:24 by beresovskiy


Initial Code
public static void Main() {  
    double num = 64354.2345; 

    Console.WriteLine("Default format: " + num); 

    Console.WriteLine("Use scientific notation: " + 
                      "{0:#.###e+00}", num); 

  }

Initial URL

                                

Initial Description

                                

Initial Title
C# decimal format

Initial Tags
format

Initial Language
C#