# Remove decimals

**URL:** <https://community.thunkable.com/t/remove-decimals/1802198>\
**Category:** Questions about Thunkable X\
**Tags:** i\_need\_your\_help\
**Created:** [March 25, 2022, 2:22pm UTC](https://community.thunkable.com/t/remove-decimals/1802198 "2022-03-25T14:22:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruben](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Ruben](https://community.thunkable.com/u/Ruben)\
**Post date:** [March 25, 2022, 2:22pm UTC](https://community.thunkable.com/t/remove-decimals/1802198/1 "2022-03-25T14:22:15Z")

</div>

Greetings, this is a silly question, but I reached a point where I need help, I need to eliminate the decimals of a project, not rounding, eliminating in this way a 6.9 becomes 6, since the rounding transforms it into 7 and that for the list that I am making causes errors in the calculations of the active units, does anyone have any idea how to solve this problem?

---

<div class="post-metadata">

**Author:** ![shrey](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shrey/32/105637_2.png) [@shrey](https://community.thunkable.com/u/shrey)\
**Post date:** [March 25, 2022, 2:40pm UTC](https://community.thunkable.com/t/remove-decimals/1802198/2 "2022-03-25T14:40:33Z")

</div>

Hey ruben, what about this block?  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/5/55ba72c96b37b995b12b004b18784791bd88f1f3.png)

---

<div class="post-metadata">

**Author:** ![Ruben](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Ruben](https://community.thunkable.com/u/Ruben)\
**Post date:** [March 25, 2022, 2:46pm UTC](https://community.thunkable.com/t/remove-decimals/1802198/3 "2022-03-25T14:46:34Z")

</div>

doesn’t work, it rounds everything, I need to eliminate or ignore the decimal, that way 6.5 is 6, or in another example 6.9 is 6 not 7  
in all tests the system forces me to work with the closest number, even rounding down transforms 6.8 into 7, I need it to be 6

---

<div class="post-metadata">

**Author:** ![shrey](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shrey/32/105637_2.png) [@shrey](https://community.thunkable.com/u/shrey)\
**Post date:** [March 25, 2022, 2:50pm UTC](https://community.thunkable.com/t/remove-decimals/1802198/4 "2022-03-25T14:50:43Z")

</div>

The block works properly for me

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [March 25, 2022, 3:41pm UTC](https://community.thunkable.com/t/remove-decimals/1802198/5 "2022-03-25T15:41:03Z")

</div>

Show a screenshot of your blocks. Because the math blocks are rock solid in Thunkable with the exception of a known issue with adding decimals:

> [@Problem of adding 2 numbers](https://community.thunkable.com/t/problem-of-adding-2-numbers/1133671):
>
> I got in trouble in my project about adding two numbers. I found this: 0.1 + 0.2 = 0.300000000…0004 and 0.1 + 0.7 = 0.79999999999999 My project: [Thunkable](https://x.thunkable.com/copy/8a180f06850a2beb03db963b0b5cb638)

Are any of the values you’re rounding possibly text strings? Are you using text input for the numbers? If so, you need to convert them to numbers by adding zero to them.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [June 23, 2022, 3:41pm UTC](https://community.thunkable.com/t/remove-decimals/1802198/6 "2022-06-23T15:41:30Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
