Problems with the pattern in iReport

0

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.

hector_10_corazon's picture
Joined: Aug 5 2019 - 11:03am
Last seen: 1 month 2 weeks ago
hector_10_corazon - 1 month 2 weeks ago

2 Answers:

0

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

swood_1's picture
604
Joined: Nov 15 2012 - 10:47am
Last seen: 8 hours 50 min ago
0

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.

hector_10_corazon's picture
Joined: Aug 5 2019 - 11:03am
Last seen: 1 month 2 weeks ago
Feedback
randomness