title: Currency format for currency different than Locale
body: <p>On Android, I'm trying to format some currency with a specific number format.</p>
  
  <p>My number have to be formatted with the French formatting (<code>9 876 543,21</code>) but the symbol for the currency should be placed depending on the currency : </p>
  
  <ul>
  <li><code>9 876 543,21 €</code> for EUR</li>
  <li><code>$9 876 543,21</code> for USD</li>
  </ul>
  
  <p>Here is my code right now (this uses <code>java.util</code> classes but the result is the same with <code>android.icu</code> package) :</p>
  
  <pre><code>final Double of = Double.valueOf("9876543.21");
  final Currency usd = Currency.getInstance("USD");
  final NumberFormat currencyInstance = NumberFormat.getCurrencyInstance(Locale.FRANCE);
  currencyInstance.setCurrency(usd);
  Log.d("test", currencyInstance.format(amount));
  </code></pre>
  
  <p>And the output is <code>9 876 543,21 $US</code> because for my NumberFormat is using a French locale.</p>
  
  <p>Note: The Locale MUST be FRANCE (or FRENCH) to have the good number formatting and I actually don't know the currency code (EUR, USD or GBP for eg.), it's will be just a string from a webservice.</p>
  
  <p>Is there a way to tell the formatter that I want the French number formatting but that it needs to respect the currency placement for the symbol ?</p>