edittext to double code example
Example 1: edittext into double
double value;
String text =your_edittext.getText().toString();
value = Double.parseDouble(text);
Example 2: java convert edittext to double
double n2Var = Double.parseDouble(n2.getText().toString());