title: How do I display calculated values in plain numbers rather than powers in Android.?
body: <p>I have a Unit Converter. When I enter a value of 10000000 Celsius to convert to Fahrenheit, I get the answer 1.8000032E7. Its the correct answer but how do I make the app display 180000320 instead of 1.8000032E7 ??</p>
  
  <p>Here's part of my Java code.</p>
  
  <pre><code>    celsiusET.addTextChangedListener(new TextWatcher() {
  
          double in,out;
  
          @Override
          public void beforeTextChanged(CharSequence s, int start, int count, int after) {
  
          }
  
          @Override
          public void onTextChanged(CharSequence s, int start, int before, int count) {
              if(!machineChange) {
                  machineChange = true;
                  if(s.toString().equals("-")) {
                      kelvinET.setText("");
                      fahrenheitET.setText("");
                  }
                  else if(s.toString().equals(".")) {
                      kelvinET.setText("");
                      fahrenheitET.setText("");
                  }
                  else if(!s.toString().equals("")) {
                      in = Double.parseDouble(s.toString());
                      out = ((in*9)/5)+32;
                      fahrenheitET.setText(String.valueOf(out));
                      out = in+273.15;
                      kelvinET.setText(String.valueOf(out));
                  }
                  else {
                      kelvinET.setText("");
                      fahrenheitET.setText("");
                  }
                  machineChange = false;
              }
  
          }
  
          @Override
          public void afterTextChanged(Editable s) {
  
          }
      });
  </code></pre>