# Is there anything wrong with my block

**URL:** <https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273>\
**Category:** Questions about Thunkable X\
**Created:** [July 1, 2020, 3:24pm UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273 "2020-07-01T15:24:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![zherpin98v7](https://avatars.discourse-cdn.com/v4/letter/z/35a633/32.png) [@zherpin98v7](https://community.thunkable.com/u/zherpin98v7)\
**Post date:** [July 1, 2020, 3:24pm UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/1 "2020-07-01T15:24:23Z")

</div>

![1222](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/8/e8e271290d93292191617854ca06e154133fa17e.png)  
when I use preview it keeps crashing or showing a white background without anything

---

<div class="post-metadata">

**Author:** ![Patrick\_Elisha](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/patrick_elisha/32/68464_2.png) [@Patrick\_Elisha](https://community.thunkable.com/u/Patrick_Elisha)\
**Post date:** [July 2, 2020, 3:08am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/3 "2020-07-02T03:08:22Z")

</div>

Ending amount \>= Target amount is not a good condition. Your loop will not run until ending amount = Target amount and then run for ever. You killed your app!  
I think it should be ending amount =\< target amount.  
Your label will also keep changing and will most likely show the last calculated values.  
Why not add those results to list to show all?

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [July 2, 2020, 8:12am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/4 "2020-07-02T08:12:34Z")

</div>

Ive had the same problem if you can simplify it and delete some blocks it maybe it wont crash because it has less information to proses.

Hopefully this helps, Will

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [July 2, 2020, 8:13am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/5 "2020-07-02T08:13:29Z")

</div>

Can you send me a link to your app to help you further?

---

<div class="post-metadata">

**Author:** ![zherpin98v7](https://avatars.discourse-cdn.com/v4/letter/z/35a633/32.png) [@zherpin98v7](https://community.thunkable.com/u/zherpin98v7)\
**Post date:** [July 2, 2020, 8:24am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/6 "2020-07-02T08:24:37Z")

</div>

I found out the problem dy is because of the decimal places, i think it overloaded the system

---

<div class="post-metadata">

**Author:** ![zherpin98v7](https://avatars.discourse-cdn.com/v4/letter/z/35a633/32.png) [@zherpin98v7](https://community.thunkable.com/u/zherpin98v7)\
**Post date:** [July 2, 2020, 8:25am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/7 "2020-07-02T08:25:09Z")

</div>

When I take away the decimal places it work fine

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [July 2, 2020, 8:38am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/8 "2020-07-02T08:38:32Z")

</div>

Nice good fix

---

<div class="post-metadata">

**Author:** ![Patrick\_Elisha](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/patrick_elisha/32/68464_2.png) [@Patrick\_Elisha](https://community.thunkable.com/u/Patrick_Elisha)\
**Post date:** [July 2, 2020, 10:50am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/9 "2020-07-02T10:50:16Z")

</div>

When someone offers you help and it works, always acknowledge. It does not cost anything to say thank you. The block ‘repeat until’ will not work if you didn’t change the operation \>= to =\< as I earlier advised.  
It’s obviously the problem you had, not decimal.

---

<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:25am UTC](https://community.thunkable.com/t/is-there-anything-wrong-with-my-block/649273/10 "2024-11-08T11:25:14Z")

</div>


