var currency = require('prostore.currency');
currency(15000.447, {
currencySymbol: 'руб.',
currencyDecimalSeparator: ',',
currencyGroupingSeparator: ' ',
currencyDecimalPlaces: 2
}).val // '15 000,45 руб.'
prstr/currency
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Dead-simple currency formatter
Resources
Stars
Watchers
Forks
Packages 0
No packages published