Jump to content

Simple calculations


dewie

Recommended Posts

Hi,

 

I'm using ireport to generate some reports for a new project i'm doing.

I build a jetty jruby interface so i can use these reports in ruby on rails.

I would like to do some calculations in ireport ( i now use a xml datasource and do the calculations in ruby on rails)

 

The problem is i can't do a simple calculation like the following :

 

F{field_price} * $F{quantity}

 

I get all sort of java errors, i tried google for a basic instruction in calculating in java , but no joy.

 

Can someone put me in a right way by some examples of calculating in ireport, or to a java tutorial i can use ?

 

Kind regards daniel

Link to comment
Share on other sites

  • Replies 5
  • 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...