Parse hexidecimal string : parseInt « Global « JavaScript Tutorial






<html>
    <body>
    <script language="JavaScript">
    <!--
    document.write("The hexidecimal string FA832B converted to an integer is: ");
    document.write(parseInt("FA832B", 16) + "<br>");
    -->
    </script>
    </body>
    </html>








8.11.parseInt
8.11.1.Global.parseInt()
8.11.2.Parse binary number
8.11.3.Parse hexidecimal string