# How to get a number from airtable?

**URL:** <https://community.thunkable.com/t/how-to-get-a-number-from-airtable/1919425>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, airtable\
**Created:** [June 10, 2022, 11:33am UTC](https://community.thunkable.com/t/how-to-get-a-number-from-airtable/1919425 "2022-06-10T11:33:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![201108sqz](https://avatars.discourse-cdn.com/v4/letter/2/8797f3/32.png) [@201108sqz](https://community.thunkable.com/u/201108sqz)\
**Post date:** [June 10, 2022, 11:33am UTC](https://community.thunkable.com/t/how-to-get-a-number-from-airtable/1919425/1 "2022-06-10T11:33:36Z")

</div>

when I try to get a number from airtable like 312 (i can use it for mathematic operations) instead of the string “312” it just gives me the latter  
my codes

 ![Screenshot (6)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/6/561dc798c24ba5e0a0cda2e6c4c0199614868382.jpeg)

in case you are wondering what happens to the old code, i am trying to revamp it so that it no longer is hard code.

---

<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:** [June 10, 2022, 3:09pm UTC](https://community.thunkable.com/t/how-to-get-a-number-from-airtable/1919425/3 "2022-06-10T15:09:19Z")

</div>

To convert a string to a number, add zero to it using a math block.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [September 8, 2022, 3:09pm UTC](https://community.thunkable.com/t/how-to-get-a-number-from-airtable/1919425/4 "2022-09-08T15:09:42Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
