# Math

**URL:** <https://community.homey.app/t/math/143453>\
**Category:** Questions & Help\
**Created:** [September 27, 2025, 3:15pm UTC](https://community.homey.app/t/math/143453 "2025-09-27T15:15:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claus\_Jacobsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_jacobsen/32/81074_2.png) [@Claus\_Jacobsen](https://community.homey.app/u/Claus_Jacobsen)\
**Post date:** [September 27, 2025, 3:15pm UTC](https://community.homey.app/t/math/143453/1 "2025-09-27T15:15:25Z")

</div>

Can someone help me with this flow. It ends in NaN

 ![1000006823](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/176f2cab98f25074fa0295d1e4659e337492202f.jpeg)

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [September 27, 2025, 7:00pm UTC](https://community.homey.app/t/math/143453/2 "2025-09-27T19:00:44Z")

</div>

My best guess is that the variable is empty. Try storing a number in it manually and then run the flow.

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 27, 2025, 7:05pm UTC](https://community.homey.app/t/math/143453/3 "2025-09-27T19:05:30Z")

</div>

In addition (if not already done so) you’ll need to add a 1 sec delay to the push notification card. Otherwise the variable has not yet been updated to the new value (both THEN cards are executed in parallel). And you’ll receive the old value in your push message.

---

<div class="post-metadata">

**Author:** ![Claus\_Jacobsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_jacobsen/32/81074_2.png) [@Claus\_Jacobsen](https://community.homey.app/u/Claus_Jacobsen)\
**Post date:** [September 27, 2025, 8:08pm UTC](https://community.homey.app/t/math/143453/4 "2025-09-27T20:08:57Z")

</div>

The issue was the delay

---

<div class="post-metadata">

**Author:** ![Claus\_Jacobsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claus_jacobsen/32/81074_2.png) [@Claus\_Jacobsen](https://community.homey.app/u/Claus_Jacobsen)\
**Post date:** [September 27, 2025, 8:09pm UTC](https://community.homey.app/t/math/143453/5 "2025-09-27T20:09:08Z")

</div>

Thanks
