title: How to use scientific notation in js?
body: <pre><code>var a = 5.0;
  var b = a * 10e-12;
  b *= 10e+12
  print(b)
  </code></pre>
  
  <p><a href="http://ideone.com/Ne6ZJ1" rel="noreferrer">Why b equals 500 instead of 5?</a></p>
  
  <p>As far as I know 10^(-12) equals to 1/(10^12), how can i rewrite the code?</p>