I have a text box where the only valid input is a number, otherwise the program has to notify you that only numbers are accepted. I have tried to do the same as i did in Scratch (multiply the text by 1 and if the result is the same then it's a number) but the app returns an error. Does anyone know if there's any way to detect it?
