Java convertit editText en double

 double n2Var = Double.parseDouble(n2.getText().toString());
Manga301