DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to format an integer with a comma in javascript
x.toString().toLocaleString(); // x must be a number
Source by sebhastian.com #
PREVIOUS
NEXT
Tagged:
#format
#integer
#comma
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit