USD Currency Formatting in java?
<p>Below is the Code for the Number Formatter :</p>

<pre><code>double value = 12345.678;
// locale preference should be retrieved from user preferences
Locale defaultLocale = new Locale("en", "US", "USD");
NumberFormat nf = NumberFormat.getCurrencyInstance(defaultLocale);
String formattedValue = nf.format(value);
System.out.println(formattedValue);
</code></pre>

<p>The Output Value : $12,345.68
But here ,I would like to have my ouput value as : $12,345.68 USD.
I need to get USD(Currency Code) at the End of the Value.</p>

<p>Also i am Calling Webservice inorder to get the Value ,How do I pass the Value to the Required field ,and Format it?</p>
