title: How to format double values to E format with specified exponent?
body: <p>Suppose I have two numbers, 0.0001 and 0.00001.</p>
  
  <p>When I try to format them using "e" notation in C#, I get the following:</p>
  
  <pre><code>double val = 0.0001;
  Console.Out.WriteLine(val.ToString("e")) //prints 1e-4
  
  double val2 = 0.00001;
  Console.Out.WriteLine(val2.ToString("e")) //prints 1e-5
  </code></pre>
  
  <p>But I would like to format both 0.0001 and 0.00001 to show the same exponent like this: </p>
  
  <p>0.0001-> 100e-6
  0.00001->10e-6</p>
  
  <p>How can I achieve this?</p>