Sorry, i'm new. I have looked for this in the guide en forum and i haven't found anything.
i have made my first program, it works fine (ask for weight and height and obtain the body mass index).
But if I write a letter I get an error.
Which is the best way to solve this error? (I have used two "edit Text" with Input Data: Decimal_NUmbers to obtain the data from de user)
Before the calculations, I have to ask if this is a letter or a number, and I don't know how to solve that.
Thank You very much.
i have made my first program, it works fine (ask for weight and height and obtain the body mass index).
But if I write a letter I get an error.
Which is the best way to solve this error? (I have used two "edit Text" with Input Data: Decimal_NUmbers to obtain the data from de user)
Before the calculations, I have to ask if this is a letter or a number, and I don't know how to solve that.
Thank You very much.