@aakash-goel/number-formatter 中文文档教程
Number Formatter
一个给数字添加逗号的小库
Installation
npm install @aakash-goel/number-formatter
Usage
var numFormatter = require('@aakash-goel/number-formatter');
var formattedNum = numFormatter(35666);
输出应该是 35,666
Tests
npm test
Number Formatter
A small library that adds commas to numbers
Installation
npm install @aakash-goel/number-formatter
Usage
var numFormatter = require('@aakash-goel/number-formatter');
var formattedNum = numFormatter(35666);
Output should be 35,666
Tests
npm test