Searched refs:wsSrcNum (Results 1 – 3 of 3) sorted by relevance
35 bool ParseNum(const WideString& wsSrcNum,45 bool FormatNum(const WideString& wsSrcNum,
1122 bool CFGAS_StringFormatter::ParseNum(const WideString& wsSrcNum, in ParseNum() argument1125 if (wsSrcNum.IsEmpty() || m_spPattern.empty()) in ParseNum()1143 pdfium::span<const wchar_t> spSrcNum = wsSrcNum.span(); in ParseNum()1153 if (!GetNumericDotIndex(wsSrcNum, wsDotSymbol, &dot_index) && in ParseNum()1846 WideString wsSrcNum = wsInputNum; in FormatNum() local1847 wsSrcNum.TrimLeft('0'); in FormatNum()1848 if (wsSrcNum.IsEmpty() || wsSrcNum[0] == '.') in FormatNum()1849 wsSrcNum.InsertAtFront('0'); in FormatNum()1851 CFGAS_Decimal decimal = CFGAS_Decimal(wsSrcNum.AsStringView()); in FormatNum()1854 wsSrcNum = decimal.ToWideString(); in FormatNum()[all …]
653 WideString wsSrcNum = wsValue; in FormatNumStr() local656 if (wsSrcNum[0] == '-') { in FormatNumStr()658 wsSrcNum.Delete(0, 1); in FormatNumStr()661 auto dot_index = wsSrcNum.Find('.'); in FormatNumStr()662 dot_index = !dot_index.has_value() ? wsSrcNum.GetLength() : dot_index; in FormatNumStr()673 wsOutput += wsSrcNum[i]; in FormatNumStr()675 if (dot_index.value() < wsSrcNum.GetLength()) { in FormatNumStr()677 wsOutput += wsSrcNum.Last(wsSrcNum.GetLength() - dot_index.value() - 1); in FormatNumStr()