Is there any way to execute a formula in XOJO like the following:

Two fields which contain variables.

Numerator (Example - nCurrentAssets + nOtherAssets)

Denominator (Example - nCurrentLiabilities + nOtherLiabilities)

Formula = Numerator / Denominator

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 )