title: Javascript zero paddedstring to int
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/850341/workarounds-for-javascript-parseint-octal-bug">Workarounds for JavaScript parseInt octal bug</a>  </p>
  </blockquote>
  
  
  
  <p>I have the following numbers:</p>
  
  <p>01
  02
  03
  04
  05
  06
  07
  08
  09
  10
  11
  12</p>
  
  <p>These are a string I want to convert them to an int. So 02 becomes 2. I have <code>parseInt('02')</code> but this returns <code>int 0</code></p>