title: Unable to retain leading zeros in javascript
body: <p>I have </p>
  
  <pre><code>var x = "0100";
  
  parseInt(x); // returns 100;
  </code></pre>
  
  <p>Is there a way I can retain the leading 0s and yet convert to number in Javascript</p>