44 for (len = 0; number[len]; len++)
45 if (number[len] ==
'.')
51 if ((comma = len % 3)) {
57 for (comma = 0; number[i]; comma++) {
60 if (comma && (comma % 3 == 0))
87 for (
b = buf; *
b;
b++)
void G_remove_commas(char *buf)
Removes commas from number string.
int G_insert_commas(char *buf)
Inserts commas into a number string.
size_t G_strlcpy(char *, const char *, size_t)
Safe string copy function.