convert An integer to a string





5
Date Submitted Thu. Aug. 10th, 2006 2:17 AM
Revision 1 of 1
Syntax Master sundaramkumar
Tags JavaScript
Comments 1 comments
convert An integer to a string


//convert An integer to a string
i = 12;
s = (i).toString();
//or can do like this

s = "" + i;

 

Comments

Comments Alternate method...
Thu. Aug. 10th, 2006 5:05 PM    Newbie Shifter

Voting