Evaluate expression


What would be the best way to evaluate a string form mathematical expression?

Hi, @pzkor, have you looked at the Math Formula node?


Hi @pzkor

Do I understand correctly that you have a String column with expressions as rows? In that case you can indeed use the Math Formula node mentioned by @gab1one by feeding the expressions as flowvariables in a loop over the rows for example.

1 Like

I created an example workflow to make this clearer. Hope this helps

math_formula_example.knwf (6.5 KB)


Wow, it did not cross my mind it could be done using flow variables. Very elegant. Many thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.