Searched refs:wsSrcNum (Results 1 – 3 of 3) sorted by relevance
1139 bool CFGAS_FormatString::ParseNum(const WideString& wsSrcNum, in ParseNum() argument1143 if (wsSrcNum.IsEmpty() || wsPattern.IsEmpty()) in ParseNum()1162 const wchar_t* str = wsSrcNum.c_str(); in ParseNum()1163 int len = wsSrcNum.GetLength(); in ParseNum()1173 if (!GetNumericDotIndex(wsSrcNum, wsDotSymbol, &dot_index) && in ParseNum()1872 WideString wsSrcNum(wsInputNum); in FormatStrNum() local1873 wsSrcNum.TrimLeft('0'); in FormatStrNum()1874 if (wsSrcNum.IsEmpty() || wsSrcNum[0] == '.') in FormatStrNum()1875 wsSrcNum.InsertAtFront('0'); in FormatStrNum()1877 CFX_Decimal decimal = CFX_Decimal(wsSrcNum.AsStringView()); in FormatStrNum()[all …]
32 bool ParseNum(const WideString& wsSrcNum,45 bool FormatNum(const WideString& wsSrcNum,
2674 WideString wsSrcNum = wsValue; in FormatNumStr() local2678 if (wsSrcNum[0] == '-') { in FormatNumStr()2680 wsSrcNum.Delete(0, 1); in FormatNumStr()2683 auto dot_index = wsSrcNum.Find('.'); in FormatNumStr()2684 dot_index = !dot_index.has_value() ? wsSrcNum.GetLength() : dot_index; in FormatNumStr()2695 wsOutput += wsSrcNum[i]; in FormatNumStr()2697 if (dot_index.value() < wsSrcNum.GetLength()) { in FormatNumStr()2699 wsOutput += wsSrcNum.Right(wsSrcNum.GetLength() - dot_index.value() - 1); in FormatNumStr()