MCPcopy Create free account
hub / github.com/Samsung/UTopia / fixNumericLocale

Function fixNumericLocale

external/jsoncpp/jsoncpp.cpp:174–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected