[GRASS-user] cut off floating map

Hi,

is it possible to cut off a floating point map to the 4th decimal digit? Which is the procedure?

Thanks,

Salvatore

On Sat, Jun 9, 2012 at 4:50 PM, Salvatore Mellino
<salvatore.mellino@gmail.com> wrote:

Hi,

is it possible to cut off a floating point map to the 4th decimal digit? Which is the procedure?

Try

r.mapcalc "rounded = int(fp_map * 10000) / 10000.0"

Markus M