Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you convert numbers between different bases in
JavaScript?

Answer Posted / heena

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)

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is webassembly faster than javascript?

998


What are the new ways to define a variable in Javascript?

1080


What is javascript in simple terms?

1012


Who introduced javascript?

979


What are self Executing Functions?

1262


In which location cookies are stored on the hard disk?

1040


Explain the working of timers in javascript?

1104


Where is javascript used most?

984


Explain why "self" is needed instead of "this".

1011


What is the use of blur function in JavaScript?

1085


How do I open javascript in chrome?

977


How onclick works in javascript?

966


How to create a function using function constructor?

1073


What is use strict in javascript?

984


Why javascript is called lightweight language?

943