# Logic block in Advanced Flow: mathematic calculation of Variable/Tag values

**URL:** <https://community.homey.app/t/logic-block-in-advanced-flow-mathematic-calculation-of-variable-tag-values/96762>\
**Category:** Ideas & Suggestions\
**Tags:** featurerequest, homey-pro, advancedflow\
**Created:** [December 4, 2023, 11:22am UTC](https://community.homey.app/t/logic-block-in-advanced-flow-mathematic-calculation-of-variable-tag-values/96762 "2023-12-04T11:22:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DirkH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkh/32/78952_2.png) [@DirkH](https://community.homey.app/u/DirkH)\
**Post date:** [December 4, 2023, 12:42pm UTC](https://community.homey.app/t/logic-block-in-advanced-flow-mathematic-calculation-of-variable-tag-values/96762/2 "2023-12-04T12:42:00Z")

</div>

Hi @And ,  
I am not sure, if I understand what you want.  
Probably you cannot add something to a device property. But if you have a variable, you can add/substract/multiply/divide and store the result in the same variable.

 ![TestFormula](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2c3f6323e86b0d4bba77886fb8a9e31a02231362.jpeg)  
If that is not sufficient you may use temporary variables, which are forgotten after the flow.  
[https://community.homey.app/t/app-pro-temporary-variables/67482](https://community.homey.app/t/app-pro-temporary-variables/67482)

---

_[View the full topic](https://community.homey.app/t/logic-block-in-advanced-flow-mathematic-calculation-of-variable-tag-values/96762)._
