I want to set a number as a result into a field.
It works perfectly to set a number in a Label.
But trying to set a number into a TextInput field fails.
Is tha a bug or intended?
PS: It could be useful to get a pair of functions in Math and Text to change the type of a variable from text to number and vice versa.
It helps only a little.
Yes: The input for numbers is much easier now.
No: The type of the value of a text_input field is still of type string, wich makes math operations with these values impossible and a set-operation with a number is not possible.
I think that the content of text_input elements should be generic and should to be typecast to the appropriate type by the system depending on the operation made with them.
I got the function to work with decimal numbers as well. The code is long and does not fit a screenshot. Maybe someone can tell me how to export the code, that I can paste onto the board.
Anyway here is a shared version https://ios.thunkable.com/copy/5a91084bc570330001c22e18