MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / fixNumericLocaleInput

Function fixNumericLocaleInput

src/share/jsoncpp/jsoncpp.cpp:189–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189static inline void fixNumericLocaleInput(char* begin, char* end) {
190 char decimalPoint = getDecimalPoint();
191 if (decimalPoint != '\0' && decimalPoint != '.') {
192 while (begin < end) {
193 if (*begin == '.') {
194 *begin = decimalPoint;
195 }
196 ++begin;
197 }
198 }
199}
200
201} // namespace Json {
202

Callers 1

decodeDoubleMethod · 0.85

Calls 1

getDecimalPointFunction · 0.85

Tested by

no test coverage detected