mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
float > string.
This commit is contained in:
parent
9f29a2e04f
commit
7679721007
@ -160,7 +160,7 @@ class ReportController extends Controller
|
||||
while ($start < $end) {
|
||||
|
||||
$currentIncome = $this->pluckFromArray($start->year, $earned);
|
||||
$currentExpense = $this->pluckFromArray($start->year, $spent) * -1;
|
||||
$currentExpense = bcmul($this->pluckFromArray($start->year, $spent), '-1');
|
||||
$income = bcadd($income, $currentIncome);
|
||||
$expense = bcadd($expense, $currentExpense);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user