Jump to content
We've recently updated our Privacy Statement, available here ×

Problem with Input Control formatting of integer numbers


t3_chris

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...