conversion of hexa to decimal int 
<p>In javascript how the hexadecimal and octal integers are converted to the decimal values:</p>

<p>For example:</p>

<pre><code>var num=parseInt("0x10");
 document.write(num);
</code></pre>

<p>It displays as output the value 16 how??</p>
