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

moneytize library #64

Open
diablourbano opened this issue Jul 7, 2014 · 0 comments
Open

moneytize library #64

diablourbano opened this issue Jul 7, 2014 · 0 comments

Comments

@diablourbano
Copy link

moneytize is a simple currency formatter, you can check the README but the idea is to allow the developer to send the message like:

Moneytize::Currency.format(123456.9803, { currency_symbol: '$', decimal: ',' })

And it will return a formatted string using the separators you asked. Currently there are just some accepted separators (",", ".", " ", "¢") and you can use any Money symbol ($, USD, etc...)

Currently it's been used in oportunidar.org

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

1 participant