person(1) has been TYPES[0] every day for the last VALUES.length
days.
The table below shows the amount he TYPES[1] in plural_form(TYPES[2]) each day.
The table below shows the amount she TYPES[1] in plural_form(TYPES[2]) each day.
Estimate how much he TYPES[1] in total by first rounding each amount to the nearest whole number and then summing all the rounded amounts.
Estimate how much she TYPES[1] in total by first rounding each amount to the nearest whole number and then summing all the rounded amounts.
Note that if you sum the exact amounts (localeToFixed(SUM, 2)
) and then round, you'll get round(SUM)
. For fun, pay attention to how this number compares with your estimate.
ANSWER plural_form(TYPES[2], ANSWER)
Round all the numbers to the nearest plural_form(TYPES[2], 1) and add them up.
Therefore the estimate is ANSWER
plural_form(TYPES[2], ANSWER).