NaveenDA/number-to-rupee

Number two Rupee is a javascript library for converting numbers in Indian rupee word.

★ 0Forks 1TypeScriptGitHub ↗Compare

Project website ↗

indiajavascriptnumber-to-words

README

Number two Rupee

Number two Rupee is a javascript library for converting numbers in Indian rupee word.

Installation

Use the package manager npm to install number-to-rupee.

npm install number-to-rupee

Usage

import numberToRupee from 'number-to-rupee';

const number = 123456789;
const rupee = numberToRupee(number);
console.log(rupee);
// Output:
// Twelve Crore Thirty Four Lakh Fifty Six Thousand Seven Hundred Eighty Nine Rupees

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Contributors

NaveenDA

Issues