I've designed a report in IReport 5.0 with a parameter defined as java.lang.Double. The text field is formatted to show 8 decimals. The report shows the number with the whole 8 decimals in IReport Preview, but in JasperServer, the number entered in the corresponding input control is rounded to 4 decimals, no matter the pattern entered for the input control. How can I assure the server shows the whole 8 decimals, exactly as it shows in IReport? Using iReport 5.0.0 and deploying to Jasperserver CE 4.5.0, the report is saved maintaining compatibility with js 4.5.0
I am attaching an image showing the problem. As I mentioned before, in iReport there is no problem, the number shows with all the decimals as entered.
Solved: Couldn't find a solution within the original server (CE 4.5.0), but upgraded the server to CE 5.2.0 and the problem was solved, input control data is displayed in the report as it was formatted in iReport, no truncation of decimals. I am guessing it is a jasperreports library issue, since the new server is using a newer library, the problem is finally solved. Hope this solutions helps anyone else with the same problem.