Format float number as scientific notation
using System; class Sample { public static void Main() { Console.WriteLine("(E) Scientific: . . . . . . . {1:E}\n" + -123, -123.45f); } }