1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 21:29:38 +02:00

fix: Round average monthly budget to two decimal places

This commit is contained in:
Josh Pigford 2025-02-06 14:35:42 -06:00
parent 842e37658c
commit 21dc4b80f3

View file

@ -24,6 +24,6 @@ class BudgetingStats
.from(monthly_totals, :mt)
.pick("AVG(mt.total)")
result
result&.round(2)
end
end