Calculated field into DB does not behave as expected

hi - I am capturing 2 slider’s values - each of one in separated field, and the sum of both in another field.
Basically I am storing:
Slider’s A value * 4
Slider’s B value *4
Slider’s A value * 4 +Slider’s B value *4

Anyone would expect that the calculated would be equal to the sum of each first 2 values… which is not at all. And I don’t understand why. I am surely doing something wrong… HELP ME !

Thanks

You might want to take a look at this thread. It helps explain how Bubble handles operator precedence , it discusses a workaround, and it mentions plugging that should sort you out.

Thanks Patricia - seems like I am not the only one stumbling accross the weird calculation processing bubble has implemented. I’ll try the work arounds from the thread you mentionned.

This topic was automatically closed after 70 days. New replies are no longer allowed.