public static void Main(string[] args)
Console.WriteLine( FormatAs10Power(9600m));
Console.WriteLine( FormatAs10Power(0.9600m) );
public static String FormatAs10Power(decimal val)
String SuperscriptDigits = "\u2070\u00b9\u00b2\u00b3\u2074\u2075\u2076\u2077\u2078\u2079";
String expstr = String.Format("{0:0.##E0}", val);
var numparts = expstr.Split('E');
char[] powerchars = numparts[1].ToArray();
for (int i = 0; i < powerchars.Length; i++)
powerchars[i] = (powerchars[i] == '-') ? '\u207b' : SuperscriptDigits[powerchars[i] - '0'];
numparts[1] = new String(powerchars);
return String.Join(" x 10",numparts);