# Can't add zero to text block

**URL:** <https://community.thunkable.com/t/cant-add-zero-to-text-block/3448609>\
**Category:** Issues / Bugs\
**Created:** [January 4, 2025, 3:43pm UTC](https://community.thunkable.com/t/cant-add-zero-to-text-block/3448609 "2025-01-04T15:43:03Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [January 4, 2025, 3:43pm UTC](https://community.thunkable.com/t/cant-add-zero-to-text-block/3448609/1 "2025-01-04T15:43:03Z")

</div>

To convert a text input’s text from a string to a number, you can add zero using a math block. But when I try to do the same thing with a label’s text, it won’t allow the block to connect:

 ![Screenshot 2025-01-04 at 7.40.59 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/5/65409ac74b39d5513f7957e8b61febc2060ec2ac.png)

Shouldn’t I be able to connect a substring block or even a basic text block to the math block?

I realize I can do this as a workaround but it shouldn’t be necessary:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/d/9d3e855df2769ae7f5212bf012620f319476a97f.png)

---

<div class="post-metadata">

**Author:** ![robert.newton.442rpp](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@robert.newton.442rpp](https://community.thunkable.com/u/robert.newton.442rpp)\
**Post date:** [January 5, 2025, 3:00pm UTC](https://community.thunkable.com/t/cant-add-zero-to-text-block/3448609/2 "2025-01-05T15:00:46Z")

</div>

Maybe colon : are problem? Math block should just have decimal and thousands separators.

---

<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:** [January 5, 2025, 6:32pm UTC](https://community.thunkable.com/t/cant-add-zero-to-text-block/3448609/3 "2025-01-05T18:32:09Z")

</div>

> [@robert.newton.442rpp](#):
>
> Maybe colon : are problem? Math block should just have decimal and thousands separators.

The colons are part of the variable name, not part of the variable value. That won’t have an effect on other blocks. The values I’m using are hour values from a clock such as “05” or “12”.

---

<div class="post-metadata">

**Author:** ![robert.newton.442rpp](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@robert.newton.442rpp](https://community.thunkable.com/u/robert.newton.442rpp)\
**Post date:** [January 5, 2025, 10:48pm UTC](https://community.thunkable.com/t/cant-add-zero-to-text-block/3448609/4 "2025-01-05T22:48:16Z")

</div>

After get substring those value is 05. Before that it have colon and block is red color, so type text. Try write 05 as text and then add it into math block. Just for test so we can see what happend.
