ICU-13597 Bug fix: fraction digits were being marked as the INTEGER field in ICU4C.

X-SVN-Rev: 41158
This commit is contained in:
Shane Carr 2018-03-27 05:34:22 +00:00
parent 3a55650b8c
commit 46c4709a94

View file

@ -518,7 +518,7 @@ int32_t NumberFormatterImpl::writeFractionDigits(const MicroProps& micros, Decim
// Get and append the next digit value
int8_t nextDigit = quantity.getDigit(-i - 1);
length += insertDigitFromSymbols(
string, string.length(), nextDigit, *micros.symbols, UNUM_INTEGER_FIELD, status);
string, string.length(), nextDigit, *micros.symbols, UNUM_FRACTION_FIELD, status);
}
return length;
}