Changes

Jump to navigation Jump to search
entered
Line 42: Line 42:     
* nutrient-id_value : what was entered and passed in the nutrient-id field
 
* nutrient-id_value : what was entered and passed in the nutrient-id field
* nutrient-id_unit : what was passed in the nutrient-id_unit field
+
* nutrient-id_unit : what was entered and passed in the nutrient-id_unit field
 
* nutrient-id : the value converted in the default unit (currently kJ for all energy fields (including energy-kcal), otherwise gram)
 
* nutrient-id : the value converted in the default unit (currently kJ for all energy fields (including energy-kcal), otherwise gram)
 
* nutrient-id_[value of nutrition_data_per) is set to nutrient-id (e.g. if nutrition_data_per is "100g", the value of sugars_100g is set to the value of sugars
 
* nutrient-id_[value of nutrition_data_per) is set to nutrient-id (e.g. if nutrition_data_per is "100g", the value of sugars_100g is set to the value of sugars
4,344

edits

Navigation menu