This is the ticket that was opened for it http://hub.qgis.org/issues/8447however I closed it because it's not really a bug because you can't format a string as a number. On 12/08/2013 9:03 PM, "Jonathan Moules" <[email protected]> wrote:
> Hi, > Possibly this? http://hub.qgis.org/issues/8405 - it was fixed a few days > ago apparently so if it is still happening in a new build it sounds like a > different bug. > > Also maybe - http://hub.qgis.org/issues/5546 - unfixed. > > Jonathan > > > > On 11 August 2013 16:31, Lene Fischer <[email protected]> wrote: > >> Hi Larry >> The decimal funcion works fine - if I only choose the $area function. >> But when I add another field or 'text' the number of decimals expand. >> Regards >> Lene Fischer >> ------------------------------ >> *Fra:* [email protected] [[email protected]] på >> vegne af Larry Shaffer [[email protected]] >> *Sendt:* 8. august 2013 05:56 >> *Til:* Lene Fischer >> *Cc:* [email protected] >> *Emne:* Re: [Qgis-user] Label using $area and decimals >> >> Hi Lene, >> >> On Wed, Aug 7, 2013 at 9:09 PM, Lene Fischer <[email protected]> wrote: >> >>> Hello >>> In Master I´m trying to set a label with the function $area. This works >>> fine. >>> But I´m trying to use the formatting for numbers with only 1 decimal - >>> no succes. >>> >> >> Hmm. I just tried setting the expression to $area and using the >> 'Formatted numbers' option for the layer: worked. I also used just an >> expression: >> >> format_number( $area, 3) >> >> >> and that worked too, even where the area result was a whole integer, >> i.e. label was 12.000. I tested with precision of '1' and both worked fine. >> Can you share the data, even if it is just a file containing the individual >> feature that is not labeling properly? >> >> >>> It works fine if I use a coloumn containing the area. >>> >> But this is not a solution because the $area is not dynamic in the >>> coloum of the attribut table. >>> >>> Secondly - how do I activate the functions in the Labeltoolbar -ex >>> Move or Show/Hide >>> >> >> New documentation for labeling canvas map tools is forthcoming. For >> now, you can reference: >> http://gis.stackexchange.com/questions/67408 >> >> Regards, >> >> Larry >> >> >>> Regards >>> Lene Fischer >>> >>> >>> _______________________________________________ >>> Qgis-user mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/qgis-user >>> >>> >> >> >> _______________________________________________ >> Qgis-user mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-user >> >> > > This transmission is intended for the named addressee(s) only and may > contain sensitive or protectively marked material up to RESTRICTED and > should be handled accordingly. Unless you are the named addressee (or > authorised to receive it for the addressee) you may not copy or use it, or > disclose it to anyone else. If you have received this transmission in error > please notify the sender immediately. All email traffic sent to or from us, > including without limitation all GCSX traffic, may be subject to recording > and/or monitoring in accordance with relevant legislation. > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
