Android Question How can I use edit text values on calculations using floating point variables?

FERNANDO SILVEIRA

Active Member
Licensed User
I have two input fields (edit text type) that I want use to do some math. It seems I'm getting data type mismatch when doing it.

Is there a function similar to value(string text) that converts text to numeric values?

upload_2018-3-27_22-14-49.png


Regards,
Fernando
 

FERNANDO SILVEIRA

Active Member
Licensed User
Ok, I whatched that and some other of your tutorial videos, and I still replicate some of the source examples provided together with the documentation, but getting back to my specific problem, I still can't figure out why this run time error is occurring.

Regards,
Fernando
 
Upvote 0
Top