1.1.2 • Published 4 years ago

format-money-with-separator v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

format-money-with-separator

a module for format money string with separator

Installation

$ npm install format-money-with-separator

Usage

let separateMoney = require("format-money-with-separator");
separateMoney(12345678); // "12.345.678"
separateMoney(12345678, ","); // "12,345,678"

API

The following are all api of this library:

APIDescription
separateMoney(param)format a value with separator, the value can be a number or a string

License

MIT

1.1.2

4 years ago

1.1.1

4 years ago