MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / get_decimal_point

Function get_decimal_point

libapp2sys/src/main/cpp/cjson/cJSON.c:239–247  ·  view source on GitHub ↗

get the decimal point character of the current locale */

Source from the content-addressed store, hash-verified

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

Callers 2

parse_numberFunction · 0.85
print_numberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected