title: java.lang.NumberFormatException: Invalid float: "٠"
body: <p>So I'm getting a crash <code>java.lang.NumberFormatException: Invalid float: "٠"</code> because for some reason on Egyptian devices the decimal delimiter is ٠ instead of .
  How do I solve this? It can handle users who have , (comma) as the decimal symbol, but this weird dot causes a crash. Here's the code that's the problem:</p>
  
  <pre><code>DecimalFormat oneDigit = new DecimalFormat("#.#");
  DecimalFormatSymbols dfs = new DecimalFormatSymbols();
  dfs.setDecimalSeparator('.');
  oneDigit.setDecimalFormatSymbols(dfs);
  sevenDaysAverage = Float.valueOf(oneDigit.format(sevenDaysAverage));  // exception here
  </code></pre>
  
  <p>My goal is to have a number formatted with a single decimal delimited by a dot, because the app is in English and that's how the number should be displayed.</p>