/ Published in: C#
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static void Main() { double num = 64354.2345; Console.WriteLine("Default format: " + num); Console.WriteLine("Use scientific notation: " + "{0:#.###e+00}", num); }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)