Fix: caMean is rounded

This commit is contained in:
Bertrand Benjamin 2021-08-11 20:49:02 +02:00
parent deb5a61add
commit ed90959687
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export function caTotal (months) {
}
export function caMean (months) {
return caTotal(months) / count(months)
return Math.floor(caTotal(months) / count(months))
}