MCPcopy Create free account
hub / github.com/ByConity/ByConity / get_decimal_point

Function get_decimal_point

contrib/cJSON/cJSON.cpp:238–246  ·  view source on GitHub ↗

get the decimal point character of the current locale */

Source from the content-addressed store, hash-verified

236
237/* get the decimal point character of the current locale */
238static unsigned char get_decimal_point(void)
239{
240#ifdef ENABLE_LOCALES
241 struct lconv *lconv = localeconv();
242 return (unsigned char) lconv->decimal_point[0];
243#else
244 return '.';
245#endif
246}
247
248typedef struct
249{

Callers 2

parse_numberFunction · 0.85
print_numberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected