You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, 1 cal = 4.184 J, but why would it make sense to calculate unit_to_g(1, 'kcal') to 4.684 g? Wouldn't this need to use 9 g for fat and 4 g for protein and carbohydrates?
The text was updated successfully, but these errors were encountered:
openfoodfacts-server/lib/ProductOpener/Food.pm
Line 186 in 501837d
openfoodfacts-server/lib/ProductOpener/Food.pm
Line 217 in 501837d
1 cal = 4.184 J
, but why would it make sense to calculateunit_to_g(1, 'kcal')
to4.684 g
? Wouldn't this need to use 9 g for fat and 4 g for protein and carbohydrates?The text was updated successfully, but these errors were encountered: