GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
GIS Library - Trim string decimal functions. More...
#include <string.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_trim_decimal (char *buf) |
Removes trailing zeros from decimal number. More... | |
GIS Library - Trim string decimal functions.
(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 trim_dec.c.
int G_trim_decimal | ( | char * | buf | ) |
Removes trailing zeros from decimal number.
Example: 23.45000 would come back as 23.45
[in,out] | buf |
Definition at line 30 of file trim_dec.c.
References buf.
Referenced by db_convert_value_to_string(), G3d_writeCats(), and G__write_cats().