Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JS cast a Number into a String

const number = 42;
console.log(number.toString());
// => "42"
Source by kitt.lewagon.com #
 
PREVIOUS NEXT
Tagged: #JS #cast #Number #String
ADD COMMENT
Topic
Name
1+4 =