Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

tolocalestring javascript

var myNumber = 3500;

console.log(myNumber.toLocaleString());
// Shows "3,500" if the user location is U.S. English
 
PREVIOUS NEXT
Tagged: #tolocalestring #javascript
ADD COMMENT
Topic
Name
2+8 =