Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 868 Bytes

README.md

File metadata and controls

43 lines (24 loc) · 868 Bytes

Eleven

Tiny lib to convert numbers/currency to words.

About

A JavaScript library by Sandeep Jain.

Installation

Using Bower:

bower install Eleven

Or grab the source (minified).

Usage

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.

Contributing

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.

License

MIT. See LICENSE.txt in this directory.