Searched refs:numberToFormat (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFSubstitution.java | 300 long numberToFormat = transformNumber(number); in doSubstitution() local 302 ruleSet.format(numberToFormat, toInsertInto, position + pos); in doSubstitution() 308 double numberToFormat = transformNumber((double)number); in doSubstitution() local 310 numberToFormat = Math.floor(numberToFormat); in doSubstitution() 313 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution() 330 double numberToFormat = transformNumber(number); in doSubstitution() local 334 if (numberToFormat == Math.floor(numberToFormat) && ruleSet != null) { in doSubstitution() 335 ruleSet.format((long)numberToFormat, toInsertInto, position + pos); in doSubstitution() 342 ruleSet.format(numberToFormat, toInsertInto, position + pos); in doSubstitution() 344 toInsertInto.insert(position + this.pos, numberFormat.format(numberToFormat)); in doSubstitution() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | nfsubs.cpp | 617 double numberToFormat = transformNumber((double)number); in doSubstitution() local 619 numberToFormat = uprv_floor(numberToFormat); in doSubstitution() 623 numberFormat->format(numberToFormat, temp, status); in doSubstitution() 642 double numberToFormat = transformNumber(number); in doSubstitution() local 646 if (numberToFormat == uprv_floor(numberToFormat) && ruleSet != NULL) { in doSubstitution() 647 ruleSet->format(util64_fromDouble(numberToFormat), toInsertInto, _pos + this->pos, status); in doSubstitution() 654 ruleSet->format(numberToFormat, toInsertInto, _pos + this->pos, status); in doSubstitution() 657 numberFormat->format(numberToFormat, temp); in doSubstitution() 908 int64_t numberToFormat = transformNumber(number); in doSubstitution() local 909 ruleToUse->doFormat(numberToFormat, toInsertInto, _pos + getPos(), status); in doSubstitution() [all …]
|
D | compactdecimalformat.cpp | 258 double numberToFormat = roundedDouble / _divisors[baseIdx]; in format() local 259 UnicodeString variant = _pluralRules->select(numberToFormat); in format() 261 numberToFormat = -numberToFormat; in format() 265 DecimalFormat::format(numberToFormat, appendTo, pos); in format()
|