0

Hello, I´m trying to create a calculator which is calculating parameters from a data grid. The calculator should have the capability of adding these parameters into the calculation field and also select how the parameters are calculated (multiplication, division, subtraction...). A field on the page will show the sum of the calculation and changes of how the calculations is made is on a pop-up page. Thanks!

asked

Jonathan Eriksson

1 answers

0

Hi Jonathan,

For this, you can use an NPE, and have an attribute which shows the calculatedAnswer,

Now on the click of the button, you can use aggregate list operation and then make a sum of all the object, for multiplication, you can loop through each object, and change a variable accordingly.

Hope it helps!

answered

Rishabh Shandilya