Hello to the Team classEx.
I am working to design a customized experiment.
I have calculated profit as
$profit=$benefit-$cost;
it is calculated perfectly. Now I want the aggregate profit to be displayed to the group for which i proceeded in the following manner.
first i saved the variable using $save("profit",$profit,$round);
then i use
$sum_profit=$findGroupSum('profit',$round,$includingOwn=true); to calculate the sum of profits by all members of the group.
The problem is that it adds the value of profit player by player and does not display the aggregate value (same value for all).
i hope my query is clear.
Any lead in this regard will be appreciated
Best Regards
Sheharyar Ahmed