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

money_format wrongly formatting hundreds of thousands #24

Closed
elhoyos opened this issue Dec 6, 2011 · 2 comments
Closed

money_format wrongly formatting hundreds of thousands #24

elhoyos opened this issue Dec 6, 2011 · 2 comments
Assignees

Comments

@elhoyos
Copy link

elhoyos commented Dec 6, 2011

In 3.26, try the following: $P.money_format('%.0n', 105390)

This should result in $105,390 but gives $,105,390.

My locales are set as follows: $P.setlocale('LC_ALL', 'en_US');

Juan Hoyos

@kukawski
Copy link
Collaborator

kukawski commented Dec 8, 2011

OK, I think I've managed to fix this issue. See commit 47d821c

@elhoyos
Copy link
Author

elhoyos commented Dec 27, 2011

It works for me... :)

Thanks.

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