mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
fix: Round average monthly budget to two decimal places
This commit is contained in:
@@ -24,6 +24,6 @@ class BudgetingStats
|
||||
.from(monthly_totals, :mt)
|
||||
.pick("AVG(mt.total)")
|
||||
|
||||
result
|
||||
result&.round(2)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user