Jump to content
JasperReports Library 7.0 is now available ×

Need to ROUND a double integer in iReport


shriyakish

Recommended Posts

Hello all,

I have  a calculated variable which is a Double.

I need to round it so that the Sum of it comes as a whole number.

eg: the variable evaluates to 49,894.5

I need it to be 49,895

But try as I might (by specifying the pattern as #,###) I get it as 49,894

 

Please help me as to how can I round the number to the next digit.

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...

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...