mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-13442 Set grouping sizes to 0 instead of -1 when disabling grouping.
X-SVN-Rev: 40673
This commit is contained in:
parent
f48ecca6f7
commit
9adfad0bdb
1 changed files with 2 additions and 2 deletions
|
@ -1819,8 +1819,8 @@ public class DecimalFormat extends NumberFormat {
|
|||
// Set to a reasonable default value
|
||||
properties.setGroupingSize(3);
|
||||
} else {
|
||||
properties.setGroupingSize(-1);
|
||||
properties.setSecondaryGroupingSize(-1);
|
||||
properties.setGroupingSize(0);
|
||||
properties.setSecondaryGroupingSize(0);
|
||||
}
|
||||
refreshFormatter();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue