BethanyG / NANA

4 stars 0 forks source link

Correct Math Errors in Nutrionix Label Code #8

Open BethanyG opened 7 years ago

BethanyG commented 7 years ago

The math is incorrect for the Nutrition Label, and needs to take serving size into account. Currently, the calculations are for the entire recipe, and some values are returning as NaN.

BethanyG commented 7 years ago

As with the other bugs, it make more sense to fix this in the 3.6_rewrite branch instead of beating the dead horse that is 2.7