Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

currency-thousand-separator

AnayoOleru111.0.0

An NPM package for formatting numbers

thousands, money, formatter

readme

Coverage Status

currency-thousand-separator

An NPM package for formatting large numbers, including money.

Getting Started

npm install --save currency-thousand-separator

Methods

- thousandsSeparators(num)
import {thousandsSeparators} from 'currency-thousand-separator'

thousandsSeparators(2400);


return 2, 400
import {thousandsSeparators} from 'currency-thousand-separator'

thousandsSeparators(83789);


return 83,789