JavaScript convertit le numéro en chaîne
var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"
Grepper
var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"
var myNumber=120;
var myString = myNumber.toString(); //converts number to string "120"
function numberToString(num) {
return num + '';
}