hector_10_corazon Posted August 27, 2019 Share Posted August 27, 2019 Hello good afternoonI have a problem using the pattern in iRepor, the one I am using is #, ###. ############ so that all decimals of the different quantities come out as 9.17, 765.9742 in that part No problem, the error is when the whole number is very large, it is printed in this way 624,876,889.095639944077 While the actual amount is 624,876,889.09564 I am new using iReport and, as much as I am looking for, I cannot find the solution to the problem I have, I appreciate it very much. Link to comment Share on other sites More sharing options...
swood_1 Posted August 30, 2019 Share Posted August 30, 2019 The pattern is based on how numbers are formatted in Java, documented here:https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.htmlA format like "#,##0.####"should work Link to comment Share on other sites More sharing options...
hector_10_corazon Posted August 30, 2019 Author Share Posted August 30, 2019 Hello, good afternoon, first of all, thanks for your help, but I already tried the solution you offer me, but I still have the same error. Link to comment Share on other sites More sharing options...
hector_10_corazon Posted August 30, 2019 Author Share Posted August 30, 2019 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