using System; public class StandardFormatStringsGeneral { public static void Main() { Console.WriteLine("{0:G}", 33345.8977); Console.WriteLine("{0:G7}", 33345.8977); Console.WriteLine("{0:G4}", 33345.8977); } }