title: Strange and inconsistent behaviour of parseInt on decimal fractions
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>console.log(parseInt(0.0000008))
  // &gt; 8
  
  console.log(parseInt(0.000008))
  // &gt; 0
  
  console.log(parseInt(0.0000008, 10))
  // &gt; 8
  
  console.log(parseInt(0.000008, 10))
  // &gt; 0</code></pre>
  </div>
  </div>
  </p>
  
  <p>The above code was run in <em>Google Chrome Version 62.0.3202.94 (Official Build) (64-bit)</em> on <em>macOS Sierra Version 10.12.6</em>.</p>
  
  <p>As you can see, the behaviour does not depend on whether or not you specify the radix.</p>
  
  <p>Note: I usually use <code>~~</code> instead of using <code>parseInt</code>, it looks safer.</p>
  
  <p>Why am I getting these results?</p>