mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5509 Fixed a bug in the condition used for checking number grouping size in subparse in strict mode
X-SVN-Rev: 20663
This commit is contained in:
parent
879e341b5f
commit
cc0d123e94
1 changed files with 1 additions and 1 deletions
|
@ -1884,7 +1884,7 @@ public class DecimalFormat extends NumberFormat {
|
|||
{
|
||||
if (strictParse) {
|
||||
if (backup != -1 ||
|
||||
(lastGroup != -1 && position - lastGroup != groupingSize - 1)) {
|
||||
(lastGroup != -1 && position - lastGroup != groupingSize + 1)) {
|
||||
strictFail = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue