Hi,

I have floating raster layers which values I want to round to x decimal places. I wonder if there is an function that allows me to round raster values to values x decimal places? There is the option /round()/ in r.mapcalc, but that rounds the raster values to nearest integer. I can work with integer values, using e.g., /r.mapcalc "output = round(input * 1000)"/. But an option to round values would be more convenient. Any suggestion?

Rgds

Paulo
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to