Avadhesh Kumar Patel District Project Manager - Aligarh 14 months work experience in Panchayati Raj Department Sector as District Project Manager & 12 months work experience in IT Sector as Software Engineer. :-)
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);
Liked By
Write Answer
How do you convert numbers between different bases in JavaScript?
Join MindStick Community
You have need login or register for voting of answers or question.
AVADHESH PATEL
01-Aug-2012