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:
parent
842e37658c
commit
21dc4b80f3
1 changed files with 1 additions and 1 deletions
|
@ -24,6 +24,6 @@ class BudgetingStats
|
|||
.from(monthly_totals, :mt)
|
||||
.pick("AVG(mt.total)")
|
||||
|
||||
result
|
||||
result&.round(2)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue