Numeric Formatting : Number Format : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Number Format »

 

Numeric Formatting









    

using System;

public class ExponentialNotation
{
    public static void Main()
    {
        Console.WriteLine("{0:###.000E-00}", 3.1415533E+04);
        Console.WriteLine("{0:#.0000000E+000}", 2.553939939E+101);
    }
}

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Number Format