title: Opposite of Number.toExponential in JS
body: <p>I need to get the value of an extremely large number in JavaScript in non-exponential form. <code>Number.toFixed</code> simply returns it in exponential form as a string, which is worse than what I had.</p>
  
  <p>This is what <code>Number.toFixed</code> returns:</p>
  
  <pre><code>&gt;&gt;&gt; x = 1e+31
  1e+31
  &gt;&gt;&gt; x.toFixed()
  "1e+31"
  </code></pre>
  
  <p><code>Number.toPrecision</code> also does not work:</p>
  
  <pre><code>&gt;&gt;&gt; x = 1e+31
  1e+31
  &gt;&gt;&gt; x.toPrecision( 21 )
  "9.99999999999999963590e+30"
  </code></pre>
  
  <p>What I would like is:</p>
  
  <pre><code>&gt;&gt;&gt; x = 1e+31
  1e+31
  &gt;&gt;&gt; x.toNotExponential()
  "10000000000000000000000000000000"
  </code></pre>
  
  <p>I could write my own parser but I would rather use a native JS method if one exists.</p>