I have a huge problem and im stuck after 10 hours of failing.
Im doing a loan comparisson site and i need it to calculate the following:
There is a Slider A(amount) and a Slider B(months).
There is a 3 field where i want to show the result of the calculation.
The formula i want to display in the result field is:
Monthly installment = (Slider a´s value * Monthly interest rate) / (1 - ((1 + Monthly interest rate)^(-Slider B´s value)))
Since your expression clearly relies on certain expressions being executed first, I would suggest plugin toolbox or math.js. You can add the entire expression there.
Played around a bit and noticed that when using the number 1 in the expression not all of the calculation options were displayed. So instead I used a custom state with value 1.