Tiny lib to convert numbers/currency to words.
A JavaScript library by Sandeep Jain.
Using Bower:
bower install Eleven
Or grab the source (minified).
Basic usage is as follows:
Eleven.moneyToWords(7289.08); // Seven Thousand Two Hundred Eighty Nine Rupees And Eight Paise Only
Eleven.numberToWords(275); // two hundred seventy five
For advanced usage, see the documentation.
Feel free to fork and contribute or if too lazy to fix then just file a issue, I will see if I can fix it.
MIT. See LICENSE.txt
in this directory.