Home
last modified time | relevance | path

Searched refs:pluralVal (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java807 double pluralVal = number; in doFormat() local
808 if (0 <= pluralVal && pluralVal < 1) { in doFormat()
811 pluralVal = Math.round(pluralVal * power(radix, exponent)); in doFormat()
814 pluralVal = pluralVal / power(radix, exponent); in doFormat()
816 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java806 double pluralVal = number; in doFormat() local
807 if (0 <= pluralVal && pluralVal < 1) { in doFormat()
810 pluralVal = Math.round(pluralVal * power(radix, exponent)); in doFormat()
813 pluralVal = pluralVal / power(radix, exponent); in doFormat()
815 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
/external/icu/icu4c/source/i18n/
Dnfrule.cpp804 double pluralVal = number; in doFormat() local
805 if (0 <= pluralVal && pluralVal < 1) { in doFormat()
808 pluralVal = uprv_round(pluralVal * util64_pow(radix, exponent)); in doFormat()
811 pluralVal = pluralVal / util64_pow(radix, exponent); in doFormat()
813 toInsertInto.insert(pos, rulePatternFormat->format((int32_t)(pluralVal), status)); in doFormat()