firuzzz Posted April 10, 2019 Share Posted April 10, 2019 I recently updated to JS 6.6.0 and trying some reports I noticed some extra characters in currency columns like ARS 1.234,00 when the usual and what I want is $1.234,00 or €1.234.00 (if I change to location/region of the OS)Running the preview (JasperStudio) It doesn't change the ¤ for anything and compiling and running through my app + payara it shows the extras ARSI am using Payara 4, on Windows 10The pattern is exactly the same as always ¤#,##0.00 Link to comment Share on other sites More sharing options...
hozawa Posted April 10, 2019 Share Posted April 10, 2019 Instead of specifying pattern, try putting something like below in the expression. If the result is the same, it's probably the Payara 4 application. Should contact them.new DecimalFormat("¤#,##0.00").format($F{amount}) Link to comment Share on other sites More sharing options...
Solution firuzzz Posted April 25, 2019 Author Solution Share Posted April 25, 2019 Thanks but it was definitely something related Payara, a JVM property that I added-Duser.language=en (this is because the translation of logs exception to my OS/Region language (Spanish) is too bad, so I wanted all in English)having to change hundreds of report couldn't be the solution Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now