Fix: caMean is rounded
This commit is contained in:
parent
deb5a61add
commit
ed90959687
@ -22,7 +22,7 @@ export function caTotal (months) {
|
||||
}
|
||||
|
||||
export function caMean (months) {
|
||||
return caTotal(months) / count(months)
|
||||
return Math.floor(caTotal(months) / count(months))
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user