# Parentheses uncontrollable

**URL:** <https://forum.bubble.io/t/parentheses-uncontrollable/370275>\
**Category:** Need help\
**Created:** [May 21, 2025, 8:23am UTC](https://forum.bubble.io/t/parentheses-uncontrollable/370275 "2025-05-21T08:23:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![2belivre](https://avatars.discourse-cdn.com/v4/letter/2/8491ac/32.png) [@2belivre](https://forum.bubble.io/u/2belivre)\
**Post date:** [May 21, 2025, 8:23am UTC](https://forum.bubble.io/t/parentheses-uncontrollable/370275/1 "2025-05-21T08:23:29Z")

</div>

Could someone explain to me how the parentheses work? They can be placed anywhere. I wanted to do a calculation like this: Px(1-(Y/100)).

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [May 21, 2025, 8:34am UTC](https://forum.bubble.io/t/parentheses-uncontrollable/370275/2 "2025-05-21T08:34:14Z")

</div>

You’ll need to do `P * ((Y/100 * -1 )+ 1)`

Bubble won’t let you do `1 -`

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [May 21, 2025, 11:28am UTC](https://forum.bubble.io/t/parentheses-uncontrollable/370275/3 "2025-05-21T11:28:52Z")

</div>

Bubble will add parenthesis where it’s needed according to the “more” selected.  
If you want to put a number at the beginning of expression, you need to use arbitrary-text:converted to number to make it work (or store the number into a state and use Dynamic expression to get this state)

---

<div class="post-metadata">

**Author:** ![2belivre](https://avatars.discourse-cdn.com/v4/letter/2/8491ac/32.png) [@2belivre](https://forum.bubble.io/u/2belivre)\
**Post date:** [May 21, 2025, 3:43pm UTC](https://forum.bubble.io/t/parentheses-uncontrollable/370275/5 "2025-05-21T15:43:02Z")

</div>

Thank you very much, I succeeded, you are great.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [July 30, 2025, 8:24am UTC](https://forum.bubble.io/t/parentheses-uncontrollable/370275/6 "2025-07-30T08:24:23Z")

</div>

Closed on July 30, 2025, 8:24am UTC

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