<div dir="ltr"><div>Hi</div><div><br></div><div>I don't have 7.4.4 here, but I get expected results both from command line and GUI in grass 7.6 (new stable release) and development version... <br></div><div>No idea, what might have gone wrong at your end.</div><div><br></div><div>I tested like this:</div><div>r.mapcalc "test = 164 / 10.0"</div><div><a href="http://r.info">r.info</a> test</div><div><br></div><div>cheers,</div><div>vero<br></div><div><br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 15 feb. 2019 a las 17:28, Pilafin (<<a href="mailto:ilaria.ferrando87@gmail.com">ilaria.ferrando87@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi everyone,<br>
I'm using Grass 7.4.4 on Windows 7 to perform a simple operation (division<br>
by 10.0) of a raster map using r.mapcalc gui and I noticed that the obtained<br>
results are not correct, e.g. 164 / 10.0 = 15 instead of 16.4.<br>
I tried to do the same operation with Grass 6.4 and it went fine.<br>
Then I switched to Grass 7.4.4 again and I tried to use the command line,<br>
and it gives the correct results.<br>
<br>
I think there is a problem in the r.mapcalc gui, has someone else<br>
encountered this strange behavior?<br>
<br>
<br>
P.S.: In the following lines, the results of a query on a point:<br>
<br>
est, nord: 2.85667275343, 42.3684893758<br>
DTM@DTM:<br>
color: 072:022:104<br>
value: 164<br>
DTM_grass7@DTM:<br>
color: 072:020:103<br>
value: 15<br>
DTM_grass6@DTM:<br>
color: 072:022:104<br>
value: 16.4<br>
DTM_grass7_cmd@DTM:<br>
color: 072:022:104<br>
value: 16.4 <br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html</a><br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>