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

Option in pretty_num to show the entirety of a large number #100

Open
seth-price-dfe opened this issue Dec 12, 2024 · 1 comment
Open

Option in pretty_num to show the entirety of a large number #100

seth-price-dfe opened this issue Dec 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@seth-price-dfe
Copy link

At the moment pretty_num always outputs a large number with a word suffix, e.g.:

pretty_num(567812343223, gbp = TRUE)
"£568 billion"

But there isn't a way to get the whole number. Can there be an option to display the number as passed to the function, e.g.:

pretty_num(567812343223, gbp = TRUE, abbreviate = FALSE)
"£567,812,343,223"

@cjrace
Copy link
Contributor

cjrace commented Jan 16, 2025

Hey @seth-price-dfe, sorry for the slow response!

I think the original intention was to always abbreviate so that the numbers are easier to digest. Though that being said, it seems like this would be very possible to add as an additional option so happy for this to get added in a PR (either by you or anyone else)!

@cjrace cjrace added the enhancement New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants