title: Android Convert large Int into Scientific Notation
body: <p>My app takes user input and show results based on:</p>
  
  <pre><code>String.format("%,.2", ave)
  </code></pre>
  
  <p>Such as:</p>
  
  <pre><code>2345.2302 -&gt; 2,345.23
  </code></pre>
  
  <p>However, large results may be pushed out of the screen. I want to convert the number into scientific notation when the results exceed 9 digits (a maximum result of 9,999,999.99 before it is converted to scientific notation).</p>
  
  <p>I am not sure how to use String.format to achieve this.</p>