Buy Questpond's video subscriptions on
huge discount
.
Online: 1941
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
JavaScript
>
Loading ...
How do you convert numbers between different bases in JavaScript?
Posted by
vishalneeraj-24503
on 1/13/2014 | Category:
JavaScript Interview questions
| Views: 2057 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
We use the parseInt() javascript function,that takes a string as the first parameter,and the base as a second parameter.
So to convert hexadecimal 5F to decimal,we can write as:-
parseInt("5F",16);
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
How to create an Index on Table?
Next > :
What are the ways of commenting a code or a statem ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
What are the ways of commenting a code or a statement in JavaScript?
What are the types used in JavaScript?
How to change Data-Type of a column in Oracle Database?
How to change Data-Type of a column in My-Sql Database?
How to change Data-Type of a column in Sql-Server?
How to remove an existing column in existing table?
How to Add a column,with a default value as 'ÁA' in a Sta ...
How to Add a column,with a default value to an existing table in SQL S ...
Latest Interview Questions
What is ViewStart in MVC?
What does Separation of concerns means?
What is MVC?
What's the difference between DELETE TABLE and TRUNCATE TABLE com ...
What is a Method Group Conversion in C#?
Tell me about yourself
How to get the list of tables in a database and also the size of which ...
Your developing web application which access data from a MS sql and ha ...
More ...