| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Spanish uses the long scale numbering system, where 'billón' means 10^12 (not 10^9 as in English). The previous translations were direct phonetic mappings from English short scale names, which are incorrect for Spanish speakers. Correct mappings (English short scale → Spanish long scale): - billion (10^9) → mil millones / miles de millones - trillion (10^12) → billón / billones - quadrillion (10^15) → mil billones / miles de billones - quintillion (10^18) → trillón / trillones - sextillion (10^21) → mil trillones / miles de trillones - septillion (10^24) → cuatrillón / cuatrillones - octillion (10^27) → mil cuatrillones / miles de cuatrillones - nonillion (10^30) → quintillón / quintillones - decillion (10^33) → mil quintillones / miles de quintillones Fixes #101
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #302 +/- ##
=======================================
Coverage 99.53% 99.53%
=======================================
Files 11 11
Lines 868 868
=======================================
Hits 864 864
Misses 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
|
Thanks for the PR! Please could you fix the tests? |
Sorry, something went wrong.
Update test expectations to match new long scale translations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #101
Problem
Spanish uses the long scale numbering system, where billón = 10^12 (not 10^9). The previous translations were phonetic mappings from English short scale names, producing incorrect output for Spanish speakers:
Correct mappings (English short scale → Spanish long scale)
Changes