@abassade/formatter 中文文档教程
Number Formatter
一个给数字添加逗号的小库
Installation
npm install @abassade/FORMATTER
Usage
var numFormatter = require('@abassade/FORMATTER');
var formattedNum = numFormatter(35666);
输出应该是 35,666
Tests
npm test
Contributing
欢迎贡献。
Number Formatter
A small library that adds commas to numbers
Installation
npm install @abassade/FORMATTER
Usage
var numFormatter = require('@abassade/FORMATTER');
var formattedNum = numFormatter(35666);
Output should be 35,666
Tests
npm test
Contributing
Feel free to contribute.