DevYK 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
..
test 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
.npmignore 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
History.md 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
Makefile 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
Readme.md 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
component.json 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
index.js 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos
package.json 8466310f0c update README.md %!s(int64=3) %!d(string=hai) anos

Readme.md

humanize-number

Humanize a number 1000000.99 -> 1,000,000.99

Installation

$ component install component/humanize-number

Example

var humanize = require('humanize-number');

humanize(1000);
// => '1,000'

humanize(1000.55, { delimiter: '.', separator: ',' });
// => '1.000,55'

License

MIT