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

numbers: thousands separator #55

Open
hottwaj opened this issue Feb 28, 2019 · 1 comment
Open

numbers: thousands separator #55

hottwaj opened this issue Feb 28, 2019 · 1 comment

Comments

@hottwaj
Copy link

hottwaj commented Feb 28, 2019

Hey thanks for the nice cheat sheet!

You're missing the optional thousands separator for numbers

'{:,}'.format(1000000)
Output: 1,000,000
@ulope
Copy link
Owner

ulope commented Sep 17, 2019

That was an intentional omission since that is unfortunately not locale aware. However mentioning it with a disclaimer of that fact could be useful.

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