How do you convert numbers between different bases in
JavaScript?

Answer Posted / kmbkrishnan

using parseInt(value,base)

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of dom?

508


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

3603


What is a null variable?

538


What is javascript in simple terms?

471


How to create multiline strings in javascript?

486






What is difference between local variable and global?

465


How to get the contents of an input box using javascript?

517


In javascript what is an argument object?

503


java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30

1516


How to handle exceptions in JavaScript?

498


How can you convert the string of any base to integer in JavaScript?

508


List the comparison operators supported by javascript?

513


Which javascript is best?

499


What does javascript do?

448


What is the reason for wrapping the entire content of a javascript source file in a function book?

566