t3_chris Posted March 11, 2011 Share Posted March 11, 2011 Hello! I've got a report which requests a parameter of type Integer. I've created a corresponding InputControl of type Number in JasperServer. My report JRXML uses Integer.valueOf(4000) as default value for this parameter. The input control renders this number as "4.000", if the user clicks on the OK button, the parameter is passed to the report as an integer with the value "4". What is obviously not the desired behaviour.Is there any way to format the number or better to avoid any formatting of the number?Thanks in anticipation of your help! Christian 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