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 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, 4474👍, 0💬
Popular Posts:
What is the difference between delegate and events? ã Actually events use delegates in bottom. But ...
How To Create an Add-to-Bloglines Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News...
What are the two kinds of comments in JSP and what's the difference between them? <%-- JSP Co...
How was XML handled during COM times? During COM it was done by using MSXML 4.0. So old languages li...
What is CMM and different levels? explain? The Capability Maturity Model (CMM) is a process capabili...