Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #10426
James Cole20827a5fd1b2
diff --git a/app/Support/Steam.php b/app/Support/Steam.phpindex 033081a6ed..6644f9d3d1 100644--- a/app/Support/Steam.php+++ b/app/Support/Steam.php@@ -278,6 +278,8 @@ class Steam$carbonKey = $carbon->format('Y-m-d');// make sure sum is a string:$sumOfDay = (string) ($entry->sum_of_day ?? '0');+ // #10426 make sure sum is not in scientific notation.+ $sumOfDay = $this->floatalize($sumOfDay);// find currency of this entry, does not have to exist.$currencies[$entry->transaction_currency_id] ??= TransactionCurrency::find($entry->transaction_currency_id);