title: c# Convert an float to string in the form of 1E
body: <p>I am currently trying to convert a float to a particular format as a string.</p>
  
  <p>If I have a float with a value of 0.000001, how do i maintain it's original format.</p>
  
  <p>When I do something in the lines of </p>
  
  <pre><code>float f = 0.000001;
  string s = f.ToString();
  Console.WriteLine(s);
  </code></pre>
  
  <p>I get an output 1E-06.
  How do I keep this in the original form of 0.000001, not only for the example above, but with any float.</p>
  
  <p>Also how would i get the strings to the format of 1EX instead of 0.00...1 if i need it.</p>
  
  <p>Thank you</p>