Hello Michaela,

Geopackage always stores numbers with "." as decimal separator. The table view 
just shows a localized view of it. If you enter numbers with a comma, they get 
internally replaced with a point before storing the values in the geopackage.
But you can format the label and force the german number format with the 
following expression as an example:

 format_number( "flaeche", 2, 'de')

If you use the expression dialog window, you can use the built in help for more 
information about the format_number function.


HTH
Frank
________________________________
Von: QGIS-User <qgis-user-boun...@lists.osgeo.org> im Auftrag von Huesmann, 
Michaela via QGIS-User <qgis-user@lists.osgeo.org>
Gesendet: Donnerstag, 11. Januar 2024 15:13
An: qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org>
Betreff: [Qgis-user] Decimal delimiter different in label and attribute table


Hello all,

I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?



[cid:image001.png@01DA44A0.677C0C90]



Best regards,

Michaela



[Kreisstadt Steinfurt]<http://www.steinfurt.de>

 - 48565 Steinfurt
www.steinfurt.de<http://www.steinfurt.de>

Mit freundlichen Grüßen
im Auftrag
Michaela Huesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: 
michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de>

Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.

_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to