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

[Feature] Configuration object for abbreviation vs full word #14

Open
joncursi opened this issue Mar 26, 2017 · 1 comment
Open

[Feature] Configuration object for abbreviation vs full word #14

joncursi opened this issue Mar 26, 2017 · 1 comment

Comments

@joncursi
Copy link

In the configuration object, would be great if you could specify if the unit should be appreviated or written out. Example:

approx(10000) // 10k
approx(10000, { abbreviation: false }) // 10 thousand
@nfriedly
Copy link
Owner

That's a good idea, do you think you can send me a PR to implement it?

Bonus points if there's a way to provide translations for other languages (nothing more than English would need to be included, but support for other languages would be nice.)

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

No branches or pull requests

2 participants