# Why is this block a NaN?

**URL:** <https://community.thunkable.com/t/why-is-this-block-a-nan/1396544>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [July 14, 2021, 8:25pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544 "2021-07-14T20:25:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 14, 2021, 8:25pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544/1 "2021-07-14T20:25:47Z")

</div>

![screen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/a/6a988625a1b4c55226f7550697a4ecf555d56d82.png)

Beginner question 🙄 … where do i do wrong ? why i got NotaNumber result ?  
Object`s property is also a “seconds since 1970” value…  
1st i assumed that is a number there, but just to make sure, i added +0 to those too… still a NaN result…

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [July 14, 2021, 8:28pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544/2 "2021-07-14T20:28:41Z")

</div>

What is the output of that pink block? If you set a label to that value, what do you see?

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 14, 2021, 8:32pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544/3 "2021-07-14T20:32:40Z")

</div>

a number, just like here:  
 ![screen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/5/0540ac243720334c4e9563e7896eabe7b6ca6fac.png)

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [July 14, 2021, 8:36pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544/4 "2021-07-14T20:36:22Z")

</div>

my bad, extra testing was revealing that var wasnt getting values from firebase… pink block shows .null ☹  
this only web preview working is gettin me headacke 🙂

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [July 14, 2021, 8:37pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544/5 "2021-07-14T20:37:30Z")

</div>

Great, glad you found it!

I hear ya - web preview is its own special thing. I’m lucky that my current project is firebase-only. If it weren’t, I think I’d be taking a day or three off!

Post again if you need help getting that value into the block where it should be!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:19pm UTC](https://community.thunkable.com/t/why-is-this-block-a-nan/1396544/6 "2024-11-08T13:19:44Z")

</div>


