18 #include <grass/gis.h>
47 for (len = 0; number[len]; len++)
48 if (number[len] ==
'.')
54 if ((comma = len % 3)) {
60 for (comma = 0; number[i]; comma++) {
63 if (comma && (comma % 3 == 0))
92 for (b = buf; *
b; b++)
int G_remove_commas(char *buf)
Removes commas from number string.
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
int G_insert_commas(char *buf)
Inserts commas into a number string.