Skip to content

en_IN: added support for numbers larger than crore#654

Open
shrutiichandra wants to merge 1 commit into
savoirfairelinux:masterfrom
shrutiichandra:feat/en_IN-enhancements
Open

en_IN: added support for numbers larger than crore#654
shrutiichandra wants to merge 1 commit into
savoirfairelinux:masterfrom
shrutiichandra:feat/en_IN-enhancements

Conversation

@shrutiichandra
Copy link
Copy Markdown

Fixes by

Shruti Chandra

Changes proposed in this pull request:

  • Added numbers larger than crore in en_IN numbering system
  • 1e9 = arab, 1e11 = kharab

Status

  • READY
  • HOLD
  • WIP (Work-In-Progress)

How to verify this change

test_en_in.py covers the newly added number names.
eg

self.assertEqual(num2words(155215059811, lang="en_IN"),  "one kharab, "
                         "fifty-five arab, twenty-one crore, fifty lakh, "
                         "fifty-nine thousand, eight hundred and eleven")

Additional notes

To enable conversion of larger numbers to Indian number names.
https://en.wikipedia.org/wiki/Indian_numbering_system

@shrutiichandra
Copy link
Copy Markdown
Author

@xdownedx please review the changes

jqueguiner added a commit to jqueguiner/num2words2 that referenced this pull request May 1, 2026
Ports savoirfairelinux#654 by @shrutiichandra.

Extends en_IN's high-numword scale beyond crore so that very large
numbers in the Indian numbering system render correctly:
- 10^9  → "arab"
- 10^11 → "kharab"

Already-supported lakh (10^5) and crore (10^7) unchanged.

Original PR: savoirfairelinux#654

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jqueguiner
Copy link
Copy Markdown

Hi @shrutiichandra — your PR is included in num2words2 (an actively-maintained fork of this project) and is now released in v1.0.2.

Your original work is preserved with full credit:

No action needed — just wanted to let you know your contribution is reaching users now. Thanks for the patch! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants