# \[Solved\] Problems with numbers from Labels

**URL:** <https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [February 13, 2020, 11:42pm UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414 "2020-02-13T23:42:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garry\_Lane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/garry_lane/32/58057_2.png) [@Garry\_Lane](https://community.thunkable.com/u/Garry_Lane)\
**Post date:** [February 13, 2020, 11:42pm UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414/1 "2020-02-13T23:42:23Z")

</div>

Having some issues with a piece of code.

 ![NUMBERS](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/9/59094deff2925daba932513954237758c1f5bb19.png)  
It is not doing anything.

Strange thing is if I set MONEY LABEL to say 3000 it will only count backwards until 1800 then stop.  
If i set GEMS LABEL to 150 and MONEY LABEL to 3000 it will count down to 1350, using 100 in GEMS LABEL it will count down to zero.

SOME STRANGE MATHS FORMULAE I AM MISSING PERHAPS 🙂

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 14, 2020, 2:58am UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414/2 "2020-02-14T02:58:36Z")

</div>

Hi, @Garry_Lane! 👋

What are you trying to do/achieve? I cannot guess that from your blocks, please elaborate.  
So we could help you better if we understand your idea. 😊

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![Garry\_Lane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/garry_lane/32/58057_2.png) [@Garry\_Lane](https://community.thunkable.com/u/Garry_Lane)\
**Post date:** [February 14, 2020, 3:20am UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414/3 "2020-02-14T03:20:16Z")

</div>

Basically just trying to get  
if money value is greater than gems value  
then set money value to minus gems value.  
Basic stuff, done it before but seems broken at the moment.

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 14, 2020, 3:40am UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414/4 "2020-02-14T03:40:14Z")

</div>

Hi, @Garry_Lane! 👋  
Thanks for the explanation! 😊

This could solve your problem -

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/a/3adf0ef564e984f0c74c0d25bbb4aaec31332fe0.png)

> [@Garry\_Lane](#):
>
> Basic stuff, done it before but seems broken at the moment.

Might be 🤷‍♂️ But my above blocks will surely help you 👍

Good Luck! 😄  
Thanks! 😊

---

<div class="post-metadata">

**Author:** ![Garry\_Lane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/garry_lane/32/58057_2.png) [@Garry\_Lane](https://community.thunkable.com/u/Garry_Lane)\
**Post date:** [February 14, 2020, 3:46am UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414/5 "2020-02-14T03:46:41Z")

</div>

thank you very much @kartik14 this has worked. But from my testing its like a decimal place issue, once the first 2 numbers of money value drop below the first 2 numbers of gems value no matter how many zeroes on the end, it seems to interpret it as less than.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:41am UTC](https://community.thunkable.com/t/solved-problems-with-numbers-from-labels/463414/6 "2024-11-08T11:41:00Z")

</div>


