mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8211449: Correction to the spec of implicit negative subpattern in DecimalFormat
Reviewed-by: bpb
This commit is contained in:
parent
11bfdc57f9
commit
2c3a2bed6d
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
|
|||
* subpattern, for example, {@code "#,##0.00;(#,##0.00)"}. Each
|
||||
* subpattern has a prefix, numeric part, and suffix. The negative subpattern
|
||||
* is optional; if absent, then the positive subpattern prefixed with the
|
||||
* localized minus sign ({@code '-'} in most locales) is used as the
|
||||
* minus sign ({@code '-' U+002D HYPHEN-MINUS}) is used as the
|
||||
* negative subpattern. That is, {@code "0.00"} alone is equivalent to
|
||||
* {@code "0.00;-0.00"}. If there is an explicit negative subpattern, it
|
||||
* serves only to specify the negative prefix and suffix; the number of digits,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue