Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
誰か助けてください。単純な二次方程式アプリを実行しようとしていますが、編集テキスト フィールドに入力されたテキストから double 変数に値を取得させる方法がわかりません。
EditText から文字列値を取得し、Double に解析するだけです。
double value = Double.parseDouble(myEditText.getText().toString());