Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How do you convert numbers between different bases in JavaScript?
How do you convert numbers between different bases in JavaScript?
✍: Guest
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);
2010-06-22, 4295👍, 0💬
Popular Posts:
Can you prevent a class from overriding ? If you define a class as “Sealed” in C# and “NotInheritab...
What will be printed as the result of the operation below: main() { int a=0; if (a==0) printf("Cisco...
Can static variables be declared in a header file? You can't declare a static variable without defin...
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy &a...