I’m building a comparison page for my app, where you can compare foods.
On the page I’ll have the nutrients for Food 1 displayed and next to that I’ll have the nutrients for Food 2.
I want to provide a summary below this table telling you how much Food 1 is higher in certain nutrients versus Food 2. Like below…
How would I compare numbers between the two things/RGs and figure out how much a nutrient is greater than the other food’s nutrient?