Lines Matching refs:wsSrcNum
1139 bool CFGAS_FormatString::ParseNum(const WideString& wsSrcNum, in ParseNum() argument
1143 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() local
1873 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()
1880 wsSrcNum = decimal; in FormatStrNum()
1929 wsSrcNum = decimal; in FormatStrNum()
1932 wsSrcNum.TrimRight(L"0"); in FormatStrNum()
1933 wsSrcNum.TrimRight(L"."); in FormatStrNum()
1939 if (wsSrcNum[0] == '-') { in FormatStrNum()
1941 wsSrcNum.Delete(0, 1); in FormatStrNum()
1945 const wchar_t* str = wsSrcNum.c_str(); in FormatStrNum()
1946 int len = wsSrcNum.GetLength(); in FormatStrNum()
1947 auto dot_index = wsSrcNum.Find('.'); in FormatStrNum()
2090 *wsOutput += wsSrcNum[i]; in FormatStrNum()
2094 *wsOutput += wsSrcNum.Right(len - dot_index.value() - 1); in FormatStrNum()
2242 bool CFGAS_FormatString::FormatNum(const WideString& wsSrcNum, in FormatNum() argument
2245 if (wsSrcNum.IsEmpty() || wsPattern.IsEmpty()) in FormatNum()
2247 return FormatStrNum(wsSrcNum.AsStringView(), wsPattern, wsOutput); in FormatNum()