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

FTAP-99: Format numbers in a human way in "friendly" text #2

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

sarneaud
Copy link
Collaborator

@sarneaud sarneaud commented Jan 8, 2024

The main intent is for numbers like 10000 to render as "10,000" on the site.

The locale is fixed to "en-AU" because this library is for Australian DFAT tariff data. Australian conventions are used by DFAT, and mixing locales is more confusing than helpful. (E.g., otherwise "10.000" could mean "ten thousand" in some places, and "ten point zero zero zero" in others.)

The main intent is for numbers like 10000 to render as "10,000" on the
site.

The locale is fixed to "en-AU" because this library is for Australian
DFAT tariff data.  Australian conventions are used by DFAT, and mixing
locales is more confusing than helpful.  (E.g., otherwise "10.000" could
mean "ten thousand" in some places, and "ten point zero zero zero" in
others.)
@sarneaud sarneaud merged commit 22fa4f8 into master Jan 8, 2024
@sarneaud sarneaud deleted the formatnumber branch January 8, 2024 03:59
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