Skip to content

Added ability to handle long scale BIG numbers - #8

Open
acsteitz wants to merge 3 commits into
robertwilczynski:masterfrom
acsteitz:master
Open

acsteitz wants to merge 3 commits into
robertwilczynski:masterfrom
acsteitz:master

Conversation

@acsteitz

Copy link
Copy Markdown

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