Skip to content

Extend intword through untrigintillion - #475

Open
kpereira31 wants to merge 3 commits into
python-humanize:mainfrom
kpereira31:feature/extend-intword
Open

kpereira31 wants to merge 3 commits into
python-humanize:mainfrom
kpereira31:feature/extend-intword

Conversation

@kpereira31

Copy link
Copy Markdown

This PR extends intword() to support larger number names from undecillion (10^36) through untrigintillion (10^96), while keeping support for googol (10^100).

I updated the number mappings in number.py and added tests in test_number.py to check the new names, negative values, and custom decimal formatting. I also updated existing test expectations to match the new outputs.

Testing:

  • 747 passed, 110 skipped (python -m pytest)
  • Package builds and installs successfully (python -m pip install -e .)

Addresses #227.

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