Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dunits_converter.cpp133 double strHasDivideSignToDouble(StringPiece strWithDivide, UErrorCode &status) { in strHasDivideSignToDouble() argument
135 for (int i = 0, n = strWithDivide.length(); i < n; ++i) { in strHasDivideSignToDouble()
136 if (strWithDivide.data()[i] == '/') { in strHasDivideSignToDouble()
143 return strToDouble(strWithDivide.substr(0, divisionSignInd), status) / in strHasDivideSignToDouble()
144 strToDouble(strWithDivide.substr(divisionSignInd + 1), status); in strHasDivideSignToDouble()
147 return strToDouble(strWithDivide, status); in strHasDivideSignToDouble()