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
@ -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…
Reference in New Issue
Block a user