DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
separador de miles javascript
function format (num) { var reg=/d{1,3}(?=(d{3})+$)/g; return (num + '').replace(reg, '$&,'); }
Source by programmerclick.com #
PREVIOUS
NEXT
Tagged:
#separador
#de
#miles
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit