Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript int with commas

var number = 1000;
	console.log(number.toLocaleString());
//output: 1,000
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #int #commas
ADD COMMENT
Topic
Name
1+5 =