You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

If you have a number in JavaScript variable and you want to convert it to a string use the toString() function. For example:
var number = 5.65; var stringnumber = number.toString(); alert(stringnumber); SETVALUE("Amount",stringNumber);   SETVALUE("Amount",number.toString());  

  • No labels