EditText dataTV = (EditText) findViewById(R.id.dataET); double dataDB = Double.parseDouble(dataTV.getText().toString());