S scrapefun A-Parser Enterprise License A-Parser Enterprise Sep 6, 2021 #1 Is it possible to use the MATH function of the template toolkit to filter results? I want to divide the values of two variables and if less than X write to the results file? I'm thinking this is not possible but wanted to make sure.
Is it possible to use the MATH function of the template toolkit to filter results? I want to divide the values of two variables and if less than X write to the results file? I'm thinking this is not possible but wanted to make sure.
Support Administrator Staff member A-Parser Enterprise Sep 7, 2021 #2 Just write the required condition in the Results format, for example: Code: [% a = 22; b = 33; x = 2; IF a / b < x; #output result END %]
Just write the required condition in the Results format, for example: Code: [% a = 22; b = 33; x = 2; IF a / b < x; #output result END %]