# Decimal sign problem with advanced flow calculation

**URL:** <https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275>\
**Category:** Flows\
**Tags:** advancedflow\
**Created:** [June 26, 2023, 6:07pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275 "2023-06-26T18:07:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michiel\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michiel_c/32/47537_2.png) [@Michiel\_C](https://community.homey.app/u/Michiel_C)\
**Post date:** [June 26, 2023, 6:07pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275/1 "2023-06-26T18:07:57Z")

</div>

I try to have logics to calculate a value. Problem is that in the advancedflow card, the “.” is used as decimal sign, and in the Homey Variables “,”  
Now it is not possible to use the homey variables for calculations

any idea to change teh decimal signs?

 ![Screenshot 2023-06-26 at 20.08.58](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/96a62406561de59f46c70defd3d4b9261c090888.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 26, 2023, 6:13pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275/2 "2023-06-26T18:13:03Z")

</div>

> [@Michiel\_C](#):
>
> Now it is not possible to use the homey variables for calculations

Why not? Have you tried? Are you getting errors?

---

<div class="post-metadata">

**Author:** ![Michiel\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michiel_c/32/47537_2.png) [@Michiel\_C](https://community.homey.app/u/Michiel_C)\
**Post date:** [June 26, 2023, 6:20pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275/3 "2023-06-26T18:20:10Z")

</div>

yes, the calculation is not done…

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 26, 2023, 6:40pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275/4 "2023-06-26T18:40:03Z")

</div>

Can you show a minimal, reproducible example of a flow where the calculation is not done? Because the numbers are internally not stored with commas, those are just there due to i18n formatting.

---

<div class="post-metadata">

**Author:** ![Michiel\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michiel_c/32/47537_2.png) [@Michiel\_C](https://community.homey.app/u/Michiel_C)\
**Post date:** [June 26, 2023, 7:34pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275/5 "2023-06-26T19:34:12Z")

</div>

hmm, seems there was a problem with accolades. It works now. Still strange that the variables are shown with different decimal symbol than is used in the flows…

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [June 28, 2023, 12:50pm UTC](https://community.homey.app/t/decimal-sign-problem-with-advanced-flow-calculation/83275/6 "2023-06-28T12:50:17Z")

</div>

The frontend uses your locale setting.  
In the background, Homey uses EN locale, thus dots and UTC time.  
From a technical point it’s not that straings. 😉
