That, I don’t know. (The parentheses in Bubble are still in beta and could have bugs. I tend to avoid beta tests and haven’t tried them.) You could open a Bubble support ticket with that issue.

Fortunately, if I understand correctly, Bubble tends to do everything from left to right (not the usual: multiplication before addition, etc.), and with the way your formula is written, you might get the right results even with no parentheses.

Worst case scenario: You could do the computation in a front-end workflow, calculating the CustomState’s Value - 1 in the first step, and using the results of step 1 * Input’s Value in the second, and the results of the second step + 1 in the third, and put the results in another custom state which you would then display in your text field. We do a lot of workarounds in Bubble.

1 Like