DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript number format indian currency
(1234567.8).toFixed(2).replace(/(d)(?=(d{2})+d.)/g, '$1,') // "12,34,567.80"
Source by medium.com #
PREVIOUS
NEXT
Tagged:
#javascript
#number
#format
#indian
#currency
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit