Skip to content

tanhauhau/rm2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Change amount into text for ringgit malaysia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published