jesperlowe
New Member
Hi
I?m volenteering with a charity foundation doing an annual house to house collection.
I have created a "donation" database that show how much each person has collected on that one yearly donation walk.
i have the amount i bills and amount i coins.
I calculate them with
$elementa = '{indsamling___Belob_mont}';
$elementb = '{indsamling___Belob_sedel}';
$result = $elementa + $elementb;
return number_format ($result, 2, ",", ".");
And i get the right results in the form before saving.
I?m using the year to filter on at the moment, but the result is the same with and without filter
But when looking at the total in the list, i get a strange amount that sometimes fits with the decimal being moved 2 places right and sometimes its way off not having anything to do with the 2016 Collection.
I?m volenteering with a charity foundation doing an annual house to house collection.
I have created a "donation" database that show how much each person has collected on that one yearly donation walk.
i have the amount i bills and amount i coins.
I calculate them with
$elementa = '{indsamling___Belob_mont}';
$elementb = '{indsamling___Belob_sedel}';
$result = $elementa + $elementb;
return number_format ($result, 2, ",", ".");
And i get the right results in the form before saving.
I?m using the year to filter on at the moment, but the result is the same with and without filter
But when looking at the total in the list, i get a strange amount that sometimes fits with the decimal being moved 2 places right and sometimes its way off not having anything to do with the 2016 Collection.