r.mapcalc new_map="round(original_map)" On 6/30/10, Pedro Venâncio <pedrongvenan...@yahoo.com> wrote: > Hello Micha and Eloi, > > This > procedure only extracts the integer part of the number, it is not rounded. > For example, 3.8 > becomes 3 instead of 4. > > Is there any way > to "force" the rounding? > > Thanks! > > Pedro Venâncio > > > > > > > Wouldn't: > >> r.mapcalc new_map="int(original_map)" >> do that? > > Hi, > > > > How can I convert a raster type FCELL into a raster type CELL? > > > > > > > > >
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user