Jump to content
Changes to the Jaspersoft community edition download ×

Calculation of Double field


ktrinad

Recommended Posts

By: Darren - darren2003

Calculation of Double field

2003-03-11 02:29

Giulio,

 

If I want to make a calculation formula of Double field(two or above), how can I do?

 

Thank you!

 

 

 

 

By: Giulio Toffoli - gt78

RE: Calculation of Double field

2003-03-11 07:10

A simple example of calculation:

 

new Double( $F{MyDoubleField1}.doubleValue() * $F{MyDoubleField2}.doubleValue )

 

 

 

 

By: fabrice claes - fclaes

RE: Calculation of Double field

2003-03-11 07:10

new Double($F{FIELD1}.doubleValue() + $F{FIELD2}.doubleValue())

 

 

 

 

By: Darren - darren2003

RE: Calculation of Double field

2003-03-14 19:30

Thank you very much, Giulio & fabrice claes!!!!!

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