title: (android) decimalformat, uses comma in place of fullstop while formatting with "#.##"
body: <p>I am developing an Android app where I want to format my double number to #.##,  which I have done using below code.</p>
  
  <pre><code>Double BMI = ((fWeight)/(dHeight*dHeight));
  DecimalFormat df = new DecimalFormat("0.00");
  String sBMI = df.format(BMI);
  </code></pre>
  
  <p>While testing when the language of hardware is set to English(default language), it works fine, for example  if BMI is 2497.227216676656 , it formats sBMI to 2497.23 , but if language is selected to French it formats it to 2497,23. In place of DOT, COMMA is being used which is crashing my app!!!</p>
  
  <p>What is the reason for this?</p>