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