The tutorial contains a demo program that creates a format like this:
moneyFormat = NumberFormat.getNumberInstance();
When the program calls the format's parseObject with a String argument that contains non-digits (for example "32g4878"), the parser accepts the number.
moneyFormat = NumberFormat.getNumberInstance();
When the program calls the format's parseObject with a String argument that contains non-digits (for example "32g4878"), the parser accepts the number.
- duplicates
-
JDK-4241670 Missing Doc Comments in Package java.text
-
- Resolved
-