GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Display trim functions. More...
#include <grass/vask.h>
Go to the source code of this file.
Functions | |
void | V__trim_decimal (char *buf) |
Remove trailing zeros from decimal number. More... | |
Display trim functions.
(C) 1999-2009 by the GRASS Development Team
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file V_trim_dec.c.
int V__trim_decimal | ( | char * | buf | ) |
Remove trailing zeros from decimal number.
For example: 23.45000 would return 23.45.
[in,out] | buf |
Definition at line 42 of file V_trim_dec.c.
References buf.