Bonfire-Champ
2 years agoActive Member II
complex Liquid with percentages
Calling all Liquid Masters 👀
(prob my use case is not even that complex, but bear with me)
Is it possible to create a Liquid syntax that will spit out a result which is the percentile difference between 2 values?
Let's say there's an attribute called 'last_week_total_meals' with value 5 and another one 'this_week_total_meals' with a value of 3, what liquid can I code to show that there's a -40% difference between both values?