“no-coding with JS” - Bubble
Great!
Jesus, this feature is crucial! Just develop it ASAP ,please!
It works left to right, not order of operations. I’ve realized that while creating my app. A way to work around it is to run a workflow for the part you want calculated first, store that value, and then create another workflow segment for the second part, etc.
Also very surprised parentheses not possible - seems very basic - just adding my +1 for this feature to be added
You have brackets in the Expression builder (Toolbox plugin) if you really need them. Which you usually don’t.
Expression plugin works great! A little weird that I have to create an element in the builder for each impression. It’s still better to have a native parentheses feature.
Bump !
Been trying to figure this out and then found this thread. Seriously there’s no brackets in Bubble? What is the logic?
Hi,
I guess it’s just from left to right.
Do not hesitate using the Toolbox plugin. That’s the lonely rational solution for now about this.
Michel
Any Plan to add this ?
I ran into this to calculate an order total, where the formula was 20x + 30y = total. In my case, I converted this to (20x/30 + y) * 30. The parentheses are for clarity, obviously bubble doesn’t implement them, but you can see that the PEMDAS operation has been converted into a serial method that will result in the same answer. In your case, we have a - b/5 where you want b/5 calculated first.
a - b/5 = SUM
5(a-b/5) = 5SUM
5a - b = 5SUM
(5a-b) / 5 = SUM
so 5 * Input 1’s value - Input 2’s value / 5 would accomplish serially what you assumed using PEMDAS conventions.
Running into the same issue, trying to make a simmple page to count money and generate a total… How is this not integrated/???
+1 Please add this feature.
Does anyone how is the status of this one and the parenthesis feature?
Please, please, please, put something in place natively. It’s been more than Five Years!
+1 for the parenthesis from me