title: Number formatting does not take into account locale settings. Consider using String.format instead android studio
body: <p><a href="https://stackoverflow.com/questions/33034899/unable-to-pass-1st-activitys-textview-value-to-2nd-activitys-textview-through">Here</a> is my question and its solution regarding this problem..</p>
  
  <p>Em trying to pass textview value between different activities, and em getting a problem. when i execute the code, the app crashes on opening StudentActivity, but then it shows the correct result..here is the code</p>
  
  <p>LoginActivity.java</p>
  
  <pre><code>    int a = Integer.parseInt(textView.getText().toString());
      Intent i = new Intent(LoginActivity.this, StudentActivity.class);
      i.putExtra("level", a);
      startActivity(i);
  </code></pre>
  
  <p>StudentActivity.java</p>
  
  <pre><code>      textView.setText(Integer.toString(getIntent().getExtras().getInt("level")));
  </code></pre>
  
  <p>IN studentActivity, Integer.toString(getIntent().getExtras().getInt("level")) => this line says Number formatting does not take into account locale settings. Consider using String.format instead.Please suggest some code..
  Any help would be truely appreciated!!</p>