Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

curr

0.0.1 • Public • Published

Dead simple currency formatter

var curr = require('curr');

curr(15000.447, {
  symbol: 'руб.',
  decimalSeparator: ',',
  groupingSeparator: ' ',
  decimalPlaces: 2,
  format: '%v %s'
}).val     // '15 000,45 руб.'

License

Boris Okunskiy / ISC

Install

npm i curr

DownloadsWeekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • avatar