Use "MATH" to filter results?

scrapefun

A-Parser Enterprise License
A-Parser Enterprise
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.
 
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 %]
 
Back
Top