openexchangerates / accounting.js

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.
http://openexchangerates.github.io/accounting.js
MIT License
4.95k stars 528 forks source link

How about converting a given number to his word literal? #180

Open arivera12 opened 6 years ago

arivera12 commented 6 years ago

Let's say we have this 1,200 or 1200

This should be interpreted as:

One Thousand and Two Hundred

Don't know if this goes out of this plugin scope but it would be very nice to have something like this.