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
Number precision / formatting in templates #3
Comments
Could you give 5711b2d a try? Displaying amounts is always tricky as it depends on the currency and the locale. Switching to http://docs.killbill.io/0.16/internationalization.html might be relevant. |
Released in 0.2.1. A new OSGI export is required though. It will be set by default in Kill Bill 0.16.3. For previous versions, you need to override the property |
Thanks for reply @pierre in order to override the property, i just cloned git@github.com:killbill/killbill-platform.git then update release.sh (just i commented out some commands which related to git)
am i doing something wrong, if yes, could you please provide me the steps to override the property? |
@husam-otri This is a Kill Bill property, you don't have to recompile anything. Depending on how you start Kill Bill, simply add to your
or set it on the command line ( |
I've been having a play with this plugin but it I've come across an issue, floats seem to be formatted with far too much precision, for example a refund:
I can't seem to figure out a way of doing this in the template, might be worth making sure these are rounded up to 2 decimal places?
The text was updated successfully, but these errors were encountered: