# How to check if text input is a number?

**URL:** https://community.thunkable.com/t/how-to-check-if-text-input-is-a-number/482221
**Category:** Questions about Thunkable X
**Created:** [February 24, 2020, 4:50pm UTC](https://community.thunkable.com/t/how-to-check-if-text-input-is-a-number/482221 "2020-02-24T16:50:39Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [February 24, 2020, 5:29pm UTC](https://community.thunkable.com/t/how-to-check-if-text-input-is-a-number/482221/4 "2020-02-24T17:29:47Z")

</div>

COuld this also serve as the logic?

if it’s even or odd, (or 0)  
do the correct stuff with that value  
else  
let the user know they need to enter a number

 ![Screen Shot 2020-02-24 at 12.16.39 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/a/8a49e9085a90769148934018d1972836c48c721d.png)

---

_[View the full topic](https://community.thunkable.com/t/how-to-check-if-text-input-is-a-number/482221)._
