customd / jquery-number

Easily format numbers for display use. Replace numbers inline in a document, or return a formatted number for other uses.
https://www.customd.com/articles/14/jquery-number-format-redux
MIT License
442 stars 402 forks source link

Posibility to configure using JSON #136

Open eximius313 opened 7 years ago

eximius313 commented 7 years ago

instead of $.number( 5020.2364, 1, ',', ' ' ); one could use: $.number({number: 5020.2364, thousandSeparator: ' '});