MCPcopy Create free account
hub / github.com/PlayFab/gsdk / fixNumericLocale

Function fixNumericLocale

cpp/cppsdk/jsoncpp.cpp:180–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 * @see https://github.com/open-source-parsers/jsoncpp/pull/9
179 */
180template <typename Iter> Iter fixNumericLocale(Iter begin, Iter end) {
181 for (; begin != end; ++begin) {
182 if (*begin == ',') {
183 *begin = '.';
184 }
185 }
186 return begin;
187}
188
189template <typename Iter> void fixNumericLocaleInput(Iter begin, Iter end) {
190 char decimalPoint = getDecimalPoint();

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected