Jump to content
JasperReports Library 7.0 is now available ×

Getting some strange totals in Column Group


2005 IR Help

Recommended Posts

By: WeeJavaDude - weejavadude

Getting some strange totals in Column Group

2005-09-25 19:46

I have created a column group the consists of a number of BigDecimal Fields. For each Page i wanted to create a Others Rows that is calculated by subtracting the summation of all the rows from 100.

 

I created a variable to do this with the following

 

new java.math.BigDecimal(100.00f).subtrac(SUM_COL_1)

 

SUM_COL_1 is a summation variable.

 

THe numbers I am seeing do not seem to be consistent. I guess the question is what should I be looking for to figure out why tyis is not working. Am I missing something here?

 

Any examples of this would be very helpful.

 

Thanks in advance. I did purchase the user's guide and have found it very helpful.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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