Calculation/Formula in dotliquid

24 views
Skip to first unread message

Andreas Böh von Rostkron

unread,
Sep 26, 2018, 10:49:50 AM9/26/18
to dotliquid
Is there a possibility to use a formula in dotliquid? I would like to calculate the following: [1-(variable1/variable2)]*100.

The middle part works already using {{var1 | DividedBy: var2 | FormatNumber: 'N2', 'de-DE' }}.
However, I don't know how to add the rest. Any ideas?

Thanks in advance,
Andreas
Reply all
Reply to author
Forward
0 new messages