Mega Code Archive

 
Categories / JavaScript Tutorial / Global
 

Parse hexidecimal string

< 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>