The OFF web site, and apps, '''should only use these OFF processed fields''' to display the nutrition data:
The OFF web site, and apps, '''should only use these OFF processed fields''' to display the nutrition data:
−
* <code>{nutrient-id}_100g</code> or <code>{nutrient-id}_serving</code> (depending on the value of nutrition_data_per): value in g or in kJ. The values are passed as float/double???
+
* <code>{nutrient-id}_100g</code> or <code>{nutrient-id}_serving</code> (depending on the value of the value of <code>nutrition_data_per</code>): value in g or in kJ. The values are passed as float/double???
−
* <code>{nutrient-id}_value</code>: to show the original entered/passed data (useful for characters as "<" or "~").
+
* <code>{nutrient-id}_modifier</code> to get the value modifier ("<", ">", "~")
+
* <code>{nutrient-id}_value</code>: to show the original entered/passed data.