Home | History | Annotate | Download | only in i18n

Lines Matching refs:decimalPos

175         int32_t decimalPos = -1;
214 if (groupingCount >= 0 && decimalPos < 0) {
238 if (groupingCount >= 0 && decimalPos < 0) {
243 if (decimalPos >= 0) {
254 if (decimalPos >= 0) {
264 decimalPos = digitLeftCount + zeroDigitCount + digitRightCount;
490 digitLeftCount > 0 && decimalPos >= 0) {
492 int n = decimalPos;
501 if ((decimalPos < 0 && digitRightCount > 0 && sigDigitCount == 0) ||
502 (decimalPos >= 0 &&
504 decimalPos < digitLeftCount ||
505 decimalPos > (digitLeftCount + zeroDigitCount))) ||
551 // decimalPos<0, then digitTotalCount == digitLeftCount +
553 int32_t effectiveDecimalPos = decimalPos >= 0 ? decimalPos : digitTotalCount;
565 out.fMaximumFractionDigits = decimalPos >= 0
566 ? (digitTotalCount - decimalPos) : 0;
567 out.fMinimumFractionDigits = decimalPos >= 0
568 ? (digitLeftCount + zeroDigitCount - decimalPos) : 0;
575 out.fDecimalSeparatorAlwaysShown = decimalPos == 0
576 || decimalPos == digitTotalCount;