Hi;

I am displaying currency in my website. It is always in U.S. dollars so I am doing:
    NumberFormat.getCurrencyInstance().format( (float) price / 100f );

Two questions:
  1.. I assume I should set the locale for this to en_US since I want to have the 
dollar sign.
  2.. Should it do the commas and periods to the user's locale - or is everyone used 
to dollars using the US comma/period setup.
thanks - dave

Reply via email to