From 20827a5fd1b2deb4e64f89ba23600a542a882f91 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 8 Jun 2025 05:55:22 +0200 Subject: [PATCH] Fix #10426 --- app/Support/Steam.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Support/Steam.php b/app/Support/Steam.php index 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);