I wanted to share something that I spend a while trying to solve.
Imagine you have 2 input fields with underlying variables - variable1 and variable2. Both variables are of type number. After pressing a button, both variables should be added to a new variable “result”.
In the logic underlying the button you would use the following formula to be assigned “result”:
Formula editor shows you as expected that 1 + 1 will give you result of 2.
When you fire up the app and test it, you will get 11 instead. Somehow number variable is not treated as number variable. To fix this you need to do explicit type conversion like this:
Above formula will give you correct result of 2.
I believe this should be a bug @Harri_Sarsa ? or is it similar to https://tracker.appgyver.com/bug-reports/p/incorrect-textinput-binding-to-number-variable ?