Probably the locale. The same currency will display differently in
different locales with most such libraries, even the ones that come
with the standard Java API.
-David
On Aug 9, 2006, at 4:15 PM, Leon Torres wrote:
Well I had to dig in and look at UtilFormatOut.formatCurrency.
It's using the ICU4j formatter to generate the currency. The
strange thing is when I write a test class to compare the
difference between that NumberFormatter and the default Java one, I
don't see a difference. They both print "$10.00". But somehow in
my ofbiz the number comes out "US$10.00".
Anyone know why this is? I found a currency format string in
general.properties "##0.00" but playing with this doesn't fix the
problem.
What is causing ICU4j to print "US$10.00" instead of "$10.00" like
it's supposed to?
- Leon