Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
How to convert numbers to strings using JavaScript?
How to convert numbers to strings using JavaScript?
✍: Guest
You can prepend the number with an empty string
var mystring = ""+myinteger;
or
var mystring = myinteger.toString();
You can specify a base for the conversion,
var myinteger = 14;
var mystring = myinteger.toString(16);
mystring will be "e".
2009-02-25, 4014👍, 0💬
Popular Posts:
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized ...
What is test metrics? Test metrics accomplish in analyzing the current level of maturity in testing ...
How can you implement MVC pattern in ASP.NET? The main purpose using MVC pattern is to decouple the ...
Write an equivalent expression for x%8? x&7
What's the output of the following program? And why? #include main() { typedef union { int a; char b...