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
what is lazy fetching in hibernate
What is a fixed-width table and its advantages?
Explain how to write class methods vs. Instance methods.
What would be the result of 2+5+”3″?
Who introduced javascript?
How many types of data types are there?
How do I open javascript on my iphone?
Should I learn java first or javascript?
What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session?
What would you use javascript for?
what does javascript null mean?
How generic objects can be created?
How do you declare in javascript?
What is the difference between the operators ‘==‘ & ‘===‘?
What is this? Var myarray = [[[]]];