equal
deleted
inserted
replaced
94 * <blockquote> |
94 * <blockquote> |
95 * <pre>{@code |
95 * <pre>{@code |
96 * NumberFormat nf = NumberFormat.getInstance(Locale.FRENCH); |
96 * NumberFormat nf = NumberFormat.getInstance(Locale.FRENCH); |
97 * }</pre> |
97 * }</pre> |
98 * </blockquote> |
98 * </blockquote> |
99 * You can also use a <code>NumberFormat</code> to parse numbers: |
99 * |
|
100 * <p>If the locale contains "nu" (numbers) and/or "rg" (region override) |
|
101 * <a href="../util/Locale.html#def_locale_extension">Unicode extensions</a>, |
|
102 * the decimal digits, and/or the country used for formatting are overridden. |
|
103 * If both "nu" and "rg" are specified, the decimal digits from the "nu" |
|
104 * extension supersedes the implicit one from the "rg" extension. |
|
105 * |
|
106 * <p>You can also use a {@code NumberFormat} to parse numbers: |
100 * <blockquote> |
107 * <blockquote> |
101 * <pre>{@code |
108 * <pre>{@code |
102 * myNumber = nf.parse(myString); |
109 * myNumber = nf.parse(myString); |
103 * }</pre> |
110 * }</pre> |
104 * </blockquote> |
111 * </blockquote> |