# Set value to a number?

**URL:** <https://forum.bubble.io/t/set-value-to-a-number/140787>\
**Category:** Database\
**Created:** [March 11, 2021, 10:01pm UTC](https://forum.bubble.io/t/set-value-to-a-number/140787 "2021-03-11T22:01:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1david2hot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/1david2hot/32/88509_2.png) [@1david2hot](https://forum.bubble.io/u/1david2hot)\
**Post date:** [March 11, 2021, 10:01pm UTC](https://forum.bubble.io/t/set-value-to-a-number/140787/1 "2021-03-11T22:01:15Z")

</div>

I am trying to “Create a new thing” in the workflow. I get this error every time i try to create all the fields:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/7/5771bba2990f45569b06d78997c522bb6f06ca88.png)  
This is what i have:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/4/b495255c29547611aedd6ab2c98da8a33af7ca6b.png)  
But the input i have is set to “Text(numbers only)”  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/1/b112f08d18e2cc10342f2639c145d5560a359250.png)  
In the database, the field types are set to numbers.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/8/28be54a21b42ceee62ae2595bba6f93e3cde723a.png)  
I just want to be able to create the data, not sure why this is happening.

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [March 11, 2021, 10:13pm UTC](https://forum.bubble.io/t/set-value-to-a-number/140787/2 "2021-03-11T22:13:39Z")

</div>

If the field type is a number, then the input type needs to be a number too (either a decimal, integer, percentage, or currency).

Currently your input type is a text, so it’s a type mismatch.

Text(numbers only) is a text - It just allows only numeric characters to be input, but it still outputs the value as a text, so can’t be used for a number field.
