3,543
edits
(Generic formula added) |
(Some more details) |
||
Line 44: | Line 44: | ||
Any generic quantity formula should reference the product(-name), the container and a volume or weight measure. The productname and container should (?) reference the corresponding fields. | Any generic quantity formula should reference the product(-name), the container and a volume or weight measure. The productname and container should (?) reference the corresponding fields. | ||
The | The quantity formula is:<br \> | ||
<big> | <big>container_multiplyer x container_name x product_multiplyer x (sub_)product_name x quantity_value x quantity_unit</big> | ||
For example: | For example: | ||
* 1 bottle of red wine comprising 70 cl (on the bottle indicated as "70 cl") | * 1 bottle of red wine comprising 70 cl (on the bottle indicated as "70 cl"); | ||
* 1 package of granola cookies with a total weight of 276 g (just printed as 276g), which is equivalent to: | |||
** 1 package of 12 biscuits with a total weight of 276g, which is equivalent to: | |||
** 1 package of 12 biscuits with an individual weight of 23g per biscuit. | |||
=== Practical usage === | === Practical usage === |
edits