title: Behavior difference between parseInt() and parseFloat()
body: <p>Why is this behavior difference between <code>parseInt()</code> and <code>parseFloat()</code>?</p>
  
  <p>I have a string that contains <code>08</code> in it.</p>
  
  <p>When I write this code:</p>
  
  <pre><code>alert(hfrom[0]);
  alert(parseInt(hfrom[0]));
  alert(parseFloat(hfrom[0]));
  </code></pre>
  
  <p>The following output is generated:</p>
  
  <pre><code>08
  0
  8
  </code></pre>
  
  <p>Why does <code>parseInt</code> and <code>parseFloat</code> return two different results in this case?</p>