Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to handle long scale BIG numbers #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

acsteitz
Copy link

Robert,
Your profile (and your last name 😄) says you are from Poland so I realize you are aware of milliard, billiard, etc. (long scale.) I also realize that this library is obviously targeted at English speaking locales since the words in the arrays in the Numerizer class are English (one, two, three,...) Since there are extremely limited usages of long scale in English today you may not want to accept this pull request but I thought I would put it out there just in case.

acsteitz added 3 commits July 30, 2015 13:42
Given that all of the arrays except for BIG_PREFIXES use the English names for numbers, I realize that this library is intended to be used for English language applications.  MOST English speaking locales use short scale where billion means 10^9.  However, there are some locales that use long scale where billion means 10^12 and 10^9 is represented by the word milliard (and 10^15 is billion instead of trillion).

https://en.wikipedia.org/wiki/Long_and_short_scales
See comment on Numerizer.cs
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.

1 participant