[Qgis-user] coordinates labels

Andreas Neumann a.neumann at carto.net
Thu Oct 24 02:09:19 PDT 2019


Hi, 

You can use the round() expression function. 

Andreas 

On 2019-10-24 11:02, bernard ngoruse wrote:

> Hello. I an trying to label coordinates using the degree sumbol. The statement is : 
> concat(to_string(@grid_number), '°    ') 
> 
> which produces 
> 
> + 39.05                     +39.099999999994     +39.1499999999999999 
> 
> Interval between each coordinate is 0.05 degrees.
> 
> How do I avoid the long decimal points? 
> 
> Regards, 
> 
> ==================================================================================
> Bernard K. Ngoruse, MSc.,Reg. Geologist, Lead Expert, EIA & EA
> Cell: +254723153469
> email: bkngoruse at yahoo.com, ngoruse07.2009 at gmail.com
> ================================================================================== 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20191024/683701b4/attachment.html>


More information about the Qgis-user mailing list