rm2text

1.0.0 • Public • Published

rm2text

travis status npm version npm download

Change amount into text for ringgit malaysia

Installation

$ npm install --save rm2text

Usage

var rm2text = require('rm2text');
rm2text(30,120.40); //tiga juta seratus dua puluh ringgit empat puluh sen
var skandal = rm2text('rm420,000,000') //empat ratus dua puluh juta ringgit

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Package Sidebar

Install

npm i rm2text

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tanhauhau