# How to add an int from firebase to a fixed number in thunkable

**URL:** <https://community.thunkable.com/t/how-to-add-an-int-from-firebase-to-a-fixed-number-in-thunkable/916216>\
**Category:** Questions about Thunkable X\
**Tags:** firebase\
**Created:** [October 20, 2020, 8:26am UTC](https://community.thunkable.com/t/how-to-add-an-int-from-firebase-to-a-fixed-number-in-thunkable/916216 "2020-10-20T08:26:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohan.narahari35ad](https://avatars.discourse-cdn.com/v4/letter/r/c37758/32.png) [@rohan.narahari35ad](https://community.thunkable.com/u/rohan.narahari35ad)\
**Post date:** [October 20, 2020, 8:26am UTC](https://community.thunkable.com/t/how-to-add-an-int-from-firebase-to-a-fixed-number-in-thunkable/916216/1 "2020-10-20T08:26:38Z")

</div>

Hello! I am making an app which involves adding points to a given user, however, his is not for me as everytime I push a value to firebase, it converts it to a string, if anyone knows the solution, please share!  
Thank you for reading!

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 20, 2020, 7:10pm UTC](https://community.thunkable.com/t/how-to-add-an-int-from-firebase-to-a-fixed-number-in-thunkable/916216/2 "2020-10-20T19:10:22Z")

</div>

I have the problem all of the time. Adding zero to the variable (or the control text or whatever) causes firebase to save as a number instead of a string Something like

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

---

<div class="post-metadata">

**Author:** ![bilastois](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@bilastois](https://community.thunkable.com/u/bilastois)\
**Post date:** [October 21, 2020, 5:00pm UTC](https://community.thunkable.com/t/how-to-add-an-int-from-firebase-to-a-fixed-number-in-thunkable/916216/3 "2020-10-21T17:00:14Z")

</div>

i think you want to label22.text and 0  
for example label22.text=abc  
and you want to adding zero so abc0

if you want to this, you should use **join**

 ![Adsız](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7bd04d724f4569cab1224deccfc2fedd42d9f543.jpeg)

---

<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, 12:22pm UTC](https://community.thunkable.com/t/how-to-add-an-int-from-firebase-to-a-fixed-number-in-thunkable/916216/4 "2024-11-08T12:22:00Z")

</div>


