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, 4086👍, 0💬
Popular Posts:
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (over...
What is the difference between const char* p and char const* p? In const char* p, the character poin...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...
From performance point of view how do they rate ? Repeater is fastest followed by Datalist and final...
What is the difference between strings and character arrays? A major difference is: string will have...