#include <string.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_insert_commas (char *buf) |
Inserts commas into a number string. | |
int | G_remove_commas (char *buf) |
Removes commas from number string. |
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file commas.c.
int G_insert_commas | ( | char * | buf | ) |
Inserts commas into a number string.
Examples:
Note: Does not work with negative numbers.
[in,out] | buf | string |
0 if commas inserted
int G_remove_commas | ( | char * | buf | ) |