I got in trouble in my project about adding two numbers.
I found this: 0.1 + 0.2 = 0.300000000…0004 and 0.1 + 0.7 = 0.79999999999999
My project: Thunkable
1 Like
you are trying to add two text values. try converting them to numbers (for example, add zero), and then work with numbers …
1 Like
can you say more details please, i am a newbie
@sewar meant that you can convert the text input to numeric values by adding zero (or multiplying by one). This is sometimes necessary when text is used in calculations. It looks like this:
However, I tried this with your setup and it still produced the long digit values.
1 Like
yes, unfortunately it didn’t help …
we will wait for the answer of the professionals!