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.96k stars 530 forks source link

Indian numbering support? #113

Open AtheistP3ace opened 9 years ago

AtheistP3ace commented 9 years ago

Is there a way to pull this off currently? After 10,000 the grouping of thousands changes. I see a PR for grouping support but its not in the main branch yet and its pretty old. Not even sure this will offer the needed support since the groupings are not constant. After 10,000 the last 3 numbers are in groups of 3 but rest are in groups of 2 and the PR that exists seems to only allow a single grouping definition. Anyway does this library support the display of indian currency?

example: 1 10 100 1,000 10,000 1,00,000 10,00,000 1,00,00,000 10,00,00,000

vijayst commented 8 years ago

Any support planned for indian numbering system?