Hello good afternoon
I 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.
add comment
2 Answers:
Posted on August 30, 2019 at 5:42am
The pattern is based on how numbers are formatted in Java, documented here:https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html
A format like
"#,##0.####"
should work