-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.6
JDK Version: 1.2beta4-E
OS: Solaris 2.6
Locale: zh
In this JDK build, NuberFormat.getCurrencyInstance() work wrong, the currency
character is not crrect.
============================CheckCurrency.java==============================
import java.util.*;
import java.text.*;
public class CheckCurrency {
public static void main(String args[]) {
System.out.println(NumberFormat.getCurrencyInstance().format(1450.05));
}
}
==============================================================================
java CheckCurrency
¡è 1,450.05
set jdk to 1.2beta4-D or previous
java CheckCurrency
£¤1,450.05
jim.hu@prc 1998-05-14
OS: Solaris 2.6
Locale: zh
In this JDK build, NuberFormat.getCurrencyInstance() work wrong, the currency
character is not crrect.
============================CheckCurrency.java==============================
import java.util.*;
import java.text.*;
public class CheckCurrency {
public static void main(String args[]) {
System.out.println(NumberFormat.getCurrencyInstance().format(1450.05));
}
}
==============================================================================
java CheckCurrency
¡è 1,450.05
set jdk to 1.2beta4-D or previous
java CheckCurrency
£¤1,450.05
jim.hu@prc 1998-05-14