Hamish wrote:

> there are a couple ways to do it, here's one:
>   r.mapcalc "map.2dp = int(0.5 + (map.15g * 100))/100.0"
> 
> the 0.5 is added because int() truncates instead of rounding.

Note that r.mapcalc has a round() function.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to