title: Display number in Textview with thousand separator and decimal format
body: <p>How can I format, according to Locale.getDefault() of device, a float greater than 999.</p>
  
  <p>For decimal format currently I'm using this: </p>
  
  <pre><code>DecimalFormat decim = new DecimalFormat("#.##");
  tv.setText(decim.format(someFloat));
  </code></pre>
  
  <p>And for thousand separator:</p>
  
  <pre><code>tv.setText(String.format(Locale.getDefault(), "%,d", someInt));
  </code></pre>
  
  <p>How can I combine both if I want to display <code>3.678,66</code> (or <code>3,678.66</code> - depending of Locale.getDefault())?</p>