@nits.frontend/nits-numberutils

With npm


License
ISC
Install
npm install @nits.frontend/nits-numberutils@1.0.0

Documentation

With npm

 npm install @nits.frontend/number-utils --save

With yarn

yarn add @nits.frontend/number-utils

#EXAMPLE

const {addSpaceEvery3Char} = require('@nits/number-utils')

ES2015

import {addSpaceEvery3Char} from '@nits/number-utils'

const result=addSpaceEvery3Char({num:1234567, count:2})

console.log(result)

// 1 234 567,00