fix: round rain month total to avoid float noise

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-11 14:46:08 +02:00
co-authored by Claude Fable 5.1
parent 4250fa5abf
commit efe6928953
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ final class RainCalculator
return [
'today' => $perDate[$today] ?? $sumRain24,
'previous_days' => $previous,
'month_total' => $monthTotal,
'month_total' => $monthTotal === null ? null : round($monthTotal, 2),
];
}
}