[GRASS-dev] [GRASS GIS] #1976: r.mapcalc: Allow rounding of floating numbers

GRASS GIS trac at osgeo.org
Sun Jun 10 21:49:19 PDT 2018

#1976: r.mapcalc: Allow rounding of floating numbers
  Reporter:  pvanbosgeo   |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.4.1
 Component:  Raster       |    Version:  unspecified
Resolution:               |   Keywords:  r.mapcalc
       CPU:  Unspecified  |   Platform:  Unspecified

Comment (by Nikos Alexandris):

 I also think that two simple examples in the manual would be useful in
 understanding the use of round(x,y) and round(x,y,z).

 I tested locally adding
 split_window_expression = '(round({swe}, 2,
 after a bit of trial and error.

Ticket URL: <https://trac.osgeo.org/grass/ticket/1976#comment:14>
GRASS GIS <https://grass.osgeo.org>

More information about the grass-dev mailing list