As in the title above. I want take the hex number from an EditText
EditText number = (EditText) findViewById (R.id.etDisplay);
Editable stringEditable = number.getText().toString;
String nuovo = stringEditable.toString();
I want to convert nuovo to a decimal number.
int i = Integer.parseInt(nuovo, 16);
int i = Integer.parseInt(nuovo,16);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With