ICU-3682 Fix EBCDIC issue

X-SVN-Rev: 14901
This commit is contained in:
George Rhoten 2004-04-07 22:02:53 +00:00
parent df336fd5c5
commit da70b390bc

View file

@ -789,7 +789,7 @@ FractionalPartSubstitution::doSubstitution(double number, UnicodeString& toInser
} else {
pad = TRUE;
}
getRuleSet()->format((int64_t)(dl.fDigits[--dl.fCount] - gZero), toInsertInto, _pos + getPos());
getRuleSet()->format((int64_t)(dl.fDigits[--dl.fCount] - '0'), toInsertInto, _pos + getPos());
}
while (dl.fDecimalAt < 0) {
if (pad && useSpaces) {