On Mon, 3 Sep 2018 at 16:19, Raymond Nijssen wrote:
>
> On 03-09-18 02:00, Nyall Dawson wrote:
> > On Sun, 2 Sep 2018 at 20:47, Raymond Nijssen wrote:
> >>
> >> Just discovered similar unexpected rounding behavior, but a bit
> >> different I think:
> >>
> >>
> >> My expression is this one, to
On 03-09-18 02:00, Nyall Dawson wrote:
On Sun, 2 Sep 2018 at 20:47, Raymond Nijssen wrote:
Just discovered similar unexpected rounding behavior, but a bit
different I think:
My expression is this one, to show lengths of tracks on my map, in km:
"etappe" || '\n (' ||
On Sun, 2 Sep 2018 at 20:47, Raymond Nijssen wrote:
>
> Just discovered similar unexpected rounding behavior, but a bit
> different I think:
>
>
> My expression is this one, to show lengths of tracks on my map, in km:
>
> "etappe" || '\n (' ||
>
Just discovered similar unexpected rounding behavior, but a bit
different I think:
My expression is this one, to show lengths of tracks on my map, in km:
"etappe" || '\n (' ||
round((length(transform($geometry,'epsg:4326','epsg:31466'))/1000), 1)
|| ' km)'
The rounding does actually work
Hi Andreas,
thanks for the testing. I'm suspecting that something is weird with my
data
thanks and sorry for the noise!
Cheers
Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:
Hi Matteo,
Just tested on both Linux (latest master) and Windows (a bit older).
Both work fine with
round(7.34562, 2)
Result is as expected (7.35).
Andreas
On 22.12.2017 10:45, matteo wrote:
Hi devs,
I just compiled QGIS and it seems that the round function in the field
calculator is not
Yep,
thanks Pedro
Cheers
Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Hi Matteo,
Seems similar to this one: https://issues.qgis.org/issues/6640 ?
2017-12-22 9:45 GMT+00:00 matteo :
> Hi devs,
>
> I just compiled QGIS and it seems that the round function in the field
> calculator is not working properly.
>
> Without any decimal number it
Hi devs,
I just compiled QGIS and it seems that the round function in the field
calculator is not working properly.
Without any decimal number it works nice (round(7.34562) -> 7) but when
specifying how many decimals have to be used (round(7.34562, 2) ->
7.34562) there are not taken into account