Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [round-function]

The tag has no usage guidance.

0
votes
1answer
63 views

Numeric Scalebar round

The numeric scalebar in the map composer shows too detailed information on the output. Moving the Map canvas changes the scale depending on the moved distance on the map. We use EPSG 4258 (ETRS89) ...
1
vote
1answer
37 views

QGIS: round() returns unexpected result [duplicate]

In QGIS 3.4.4, using the Field Calculator, the expression round(-2.040,1) returns -1.9 where I expected it to return -2 Converting the field to real round(to_real(-2.040),1) did not change ...
0
votes
2answers
40 views

ArcGIS If/Else with calculation

I am seeking to calculate the variable MASSSTAB through rounding the variable LAENGE and doing some basic math. My codeblock currently looks like this: x = long(round(!LAENGE!, -1)) def ifBlock(m, ...
3
votes
1answer
102 views

Using round function in QGIS expression?

I created a grid of rectangular polygons with the Create Grid function, from the Vector Creation group of the Processing Toolbox in QGIS 3.4.2. The rectangles measure half a degree of longitude by ...