# Logic block \< comparison fails

**URL:** https://community.thunkable.com/t/logic-block-comparison-fails/3364446
**Category:** Questions about Thunkable X
**Created:** [November 23, 2024, 2:57pm UTC](https://community.thunkable.com/t/logic-block-comparison-fails/3364446 "2024-11-23T14:57:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![terraceaccapp3hc7yk](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/terraceaccapp3hc7yk/32/189221_2.png) [@terraceaccapp3hc7yk](https://community.thunkable.com/u/terraceaccapp3hc7yk)
#### Post date: [November 23, 2024, 9:12pm UTC](https://community.thunkable.com/t/logic-block-comparison-fails/3364446/2 "2024-11-23T21:12:31Z")

</div>

I just checked some posts like this and I’m guessing (since I can’t see where you define movelifttotxt), that movelifttotxt is still text.  
To convert it to number you can have it to equal movelifttxt + 0.  
See the post below for further information.

> [@\[Solved\] Issues with \> and \< blocks in logic](https://community.thunkable.com/t/solved-issues-with-and-blocks-in-logic/464350/2):
>
> Hi, @Patrick_Elisha! wave I think today an issue is coming while comparing numerals. An alike question was answered today by me - [[Solved] Problems with numbers from Labels - #4 by kartik14](http://community.thunkable.com/t/problems-with-numbers/463414/4) These blocks could help you - What I did? I just added a \<textInput(A/B)\> + 0. It doesn’t change the value of the textInput, but (I think) it converts the text to proper numbers, so we can compare. Hope I helped you slight_smile Thanks! blush

---

_[View the full topic](https://community.thunkable.com/t/logic-block-comparison-fails/3364446)._
