Search
 
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
Name
1+2 =