I want to store the variable amounts required to perform the calculation in the numerator and denominator field and then just execute the formula ( result = numerator / denominator )

Thanks for the reply Kem. I kind of thought I might be able to do it in XOJOscript but wasn’t sure. You don’t know of any examples that I might find showing how to use XOJOscript, do you?

If the formula is always the same, i.e.:
result=(Example - nCurrentAssets + nOtherAssets)/(Example - nCurrentLiabilities + nOtherLiabilities)
then there is hardly any reason to build an expression evaluator.