# Rounding number crash apps (drag and drop project)

**URL:** <https://community.thunkable.com/t/rounding-number-crash-apps-drag-and-drop-project/1371451>\
**Category:** Questions about Thunkable X\
**Created:** [June 30, 2021, 9:28am UTC](https://community.thunkable.com/t/rounding-number-crash-apps-drag-and-drop-project/1371451 "2021-06-30T09:28:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_ezacae](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@alex\_ezacae](https://community.thunkable.com/u/alex_ezacae)\
**Post date:** [June 30, 2021, 9:28am UTC](https://community.thunkable.com/t/rounding-number-crash-apps-drag-and-drop-project/1371451/1 "2021-06-30T09:28:36Z")

</div>

Hello,

I have an object with a property that is a number.  
This number is too precise and I want to reduce to 2 number decimal.  
I used the function with decimal but when I execute it the app stopped.

 ![Capture d’écran 2021-06-30 à 11.14.56](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/e/de15861b45d9ac89c3325a1d6c4158b0315d2645.png)

I just made a small screen exemple. If I am setting directly the property of the text input 3.123212 in the label it is ok but if I am doing the function in the screen shot it crashes ☹  
I also tried with “,” instead of “.” for a decimal separator but it is not changing my issue. ☹  
Thanks for your help  
Alex

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [June 30, 2021, 9:49am UTC](https://community.thunkable.com/t/rounding-number-crash-apps-drag-and-drop-project/1371451/2 "2021-06-30T09:49:17Z")

</div>

Add a +0 block to your TEXT\_INPUT1’S TEXT block.

---

<div class="post-metadata">

**Author:** ![alex\_ezacae](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@alex\_ezacae](https://community.thunkable.com/u/alex_ezacae)\
**Post date:** [June 30, 2021, 10:01am UTC](https://community.thunkable.com/t/rounding-number-crash-apps-drag-and-drop-project/1371451/3 "2021-06-30T10:01:43Z")

</div>

great !!! thanks a lot

---

<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, 1:20pm UTC](https://community.thunkable.com/t/rounding-number-crash-apps-drag-and-drop-project/1371451/4 "2024-11-08T13:20:02Z")

</div>


