How Do You Convert Numbers Between Different Bases In JavaScript

How Do You Convert Numbers Between Different Bases In JavaScript


  • 22 Dec, 2011

    Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt (" 3F" , 16)

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.