MCPcopy Create free account
hub / github.com/Illumina/paragraph / fixNumericLocaleInput

Function fixNumericLocaleInput

external/jsoncpp/jsoncpp.cpp:186–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

decodeDoubleMethod · 0.85

Calls 1

getDecimalPointFunction · 0.85

Tested by

no test coverage detected