how do I cast a number to a string in javascript code example
Example 1: javascript to string
num.toString();
Example 2: how to turn number into string javascript
var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"