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

Package detail

rupiah-format

dharmadi93584ISC1.0.0

Change normal number to rupiah format

rupiah, format, indonesia, uang, money, rupiah, format, rupiah-format

readme

rupiah-format

Synopsis

This library will convert standart numbers format into indonesian rupiah format

Installation

npm install

Code Example

//require library
const convertRupiah = require('rupiah-format')

//convert number
let number = 1000000
let rupiah = convertRupiah.convert(number)

console.log(rupiah)

Tests

node test

License

MIT