# \[Solved\] How to sum all of item in simple list?

**URL:** <https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, help\
**Created:** [July 27, 2024, 8:42am UTC](https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534 "2024-07-27T08:42:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yomomay2024syv5a](https://avatars.discourse-cdn.com/v4/letter/y/a9adbd/32.png) [@yomomay2024syv5a](https://community.thunkable.com/u/yomomay2024syv5a)\
**Post date:** [July 27, 2024, 8:42am UTC](https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534/1 "2024-07-27T08:42:38Z")

</div>

Hello everyone  
I read many questions and answers about “sum of list” here.  
But I still really don’t understand and can’t find out the answer.

I insert number to a list (for example : item 1 =1,item 2 =2, item 3 = 3, item 4 = 4 and more as mush as I want)  
then I want to sum all of item. I expect result would be 10 (1+2+3+4)  
But the result shows 01234 which I don’t want it to be mixed together like this.

Could someone help me please ?  
Thank you in advance.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/7/3793d9b94a6a278299c61a1e5670272f167b1652.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/812abb0685bae009a694c2990bb201658404186c.png)

---

<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:** [July 27, 2024, 3:18pm UTC](https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534/2 "2024-07-27T15:18:33Z")

</div>

You’re trying to sum (add) text strings. But you want to sum numbers. So you need to convert each text string to a number by adding zero to it.

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [July 28, 2024, 6:47am UTC](https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534/3 "2024-07-28T06:47:14Z")

</div>

note the highlghted block below it shows how to convert a number in text form (we know it’s in text form because it came from a text input field) to a true number (internally) using the trick of adding zero to it.

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

and the result  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/6/e6713a78a3d55683bf0e93c0a1dacdc7ca0c3dca.png)

---

<div class="post-metadata">

**Author:** ![yomomay2024syv5a](https://avatars.discourse-cdn.com/v4/letter/y/a9adbd/32.png) [@yomomay2024syv5a](https://community.thunkable.com/u/yomomay2024syv5a)\
**Post date:** [July 28, 2024, 6:11pm UTC](https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534/4 "2024-07-28T18:11:08Z")

</div>

Thank you …tatiang and manyone.  
T tried it as you recommended. It works !!

Thanks a lot for your help.

---

<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:** [October 26, 2024, 6:11pm UTC](https://community.thunkable.com/t/solved-how-to-sum-all-of-item-in-simple-list/3115534/5 "2024-10-26T18:11:09Z")

</div>

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