how to convert edittext value to double in android code example Example: java convert edittext to double double n2Var = Double.parseDouble(n2.getText().toString());