Hello, I am trying to perform simple operations like add, divide, multiply,… involving variables and/or database data and I can’t do it.
I’ve done and re-done everything several times betting that the problem was with me.
The data types are numeric but all operations or functions like SUM, MULTIPLY, DIVIDE etc return null or using the ‘+’ operator I get a text join operation.
So after a long time I started to analyze the debuger and realized that AppGyver stores everything as text, even the fields and variables indicated as numeric.
So I ran a test with the ‘NUMBER()’ function on each variable and data in the database and everything started working as it should.
So I can’t perform ‘SUM_BY_KEY(data.test, “number”)’ which always returns 0.
Is this the expected result in AppGyver, or is this a bug?