wow taht passes
This commit is contained in:
@@ -65,7 +65,7 @@ func getMonthlyContributionRate(contributions []ledger.Balance, window time.Dura
|
|||||||
}
|
}
|
||||||
result := make(ledger.Balance)
|
result := make(ledger.Balance)
|
||||||
for currency, summed := range sumPerCurrency {
|
for currency, summed := range sumPerCurrency {
|
||||||
result[currency] = summed / (float64(window) / float64(time.Hour*24*365/12))
|
result[currency] = summed / (float64(window) / float64(time.Hour*24.0*365.0/12.0))
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user