title: Why does %e behave different than %g in format strings?
body: <p>I have tried this in Python2, Python3 and C:</p>
  
  <p>Why do these format string return numbers with different precision?</p>
  
  <pre><code>&gt;&gt;&gt; "%.3e" % 123456789
  '1.235e+08' 
  &gt;&gt;&gt; "%.3g" % 123456789
  '1.23e+08' 
  </code></pre>