-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
7
-
None
FULL PRODUCT VERSION :
java version " 1.7.0_21 "
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
3.8.0-22-generic #33-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
According to http://www.eki.ee/itstandard/2000/FDCC.shtml.en the estonian decimal separator for monetary formatting is FULL STOP<.> NumberFormat#getCurrency returns a comma.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
@Test
public void estonianLocale() {
Locale locale = new Locale( " et " , " EE " );
NumberFormat nb = NumberFormat.getCurrencyInstance(locale);
assertEquals( " 2.23 ? " , nb.format(2.23f));
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
2.23 ?
ACTUAL -
2,23 ?
REPRODUCIBILITY :
This bug can be reproduced always.
java version " 1.7.0_21 "
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
3.8.0-22-generic #33-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
According to http://www.eki.ee/itstandard/2000/FDCC.shtml.en the estonian decimal separator for monetary formatting is FULL STOP<.> NumberFormat#getCurrency returns a comma.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
@Test
public void estonianLocale() {
Locale locale = new Locale( " et " , " EE " );
NumberFormat nb = NumberFormat.getCurrencyInstance(locale);
assertEquals( " 2.23 ? " , nb.format(2.23f));
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
2.23 ?
ACTUAL -
2,23 ?
REPRODUCIBILITY :
This bug can be reproduced always.