<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hallo Günter,</p>
<p>danke für den Hinweis! Irgendwie hatte ich vorhin wohl die
völlig falschen Begriffe zur Suche verwendet. <br>
Inzwischen habe ich ebenfalls eine Lösung gefunden. Die Funktion
arbeitet mit Zahlen und unterstützt auch die 1000er-Seperatoren <br>
</p>
<p><font face="monospace">format_number(round(x(@geometry),2),
places=3, language='de', omit_group_seperators=False,
trim_trailing_zeroes=False)</font></p>
<p>Grüße<br>
Lothar<br>
</p>
<div class="moz-cite-prefix">Am 11.11.2024 um 11:42 schrieb G.
Wagner, Wagner-IT:<br>
</div>
<blockquote type="cite" cite="mid:00c201db3426$77768820$66639860$@wagner-it.de">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"ITC Avant Garde Std Bk";
panose-1:2 11 5 2 2 2 2 2 2 4;}@font-face
{font-family:"ITC Avant Garde Std Md";
panose-1:2 11 6 2 2 2 2 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}span.E-MailFormatvorlage20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hallo
Lothar,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">das
hatte ich im Oktober auch gefragt. Und dankenswerterweise
die Antwort von Jürgen bekommen:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><a href="https://lists.fossgis.de/pipermail/fossgis-talk-liste/2024-October/013237.html" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.fossgis.de/pipermail/fossgis-talk-liste/2024-October/013237.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Der
Trick ist, dass das entsprechende Feld ein String
(Zeichenfolge) sein muss.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Viele
Grüße<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Günter<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-family:"ITC Avant Garde Std Bk",sans-serif;color:#E36C0A">WAGNER-</span></b><span style="font-family:"ITC Avant Garde Std Md",sans-serif;color:#1F497D">IT</span><b><span style="color:#1F497D"><o:p></o:p></span></b></p>
<p class="MsoNormal">Ingenieurbüro für Geoinformatik<o:p></o:p></p>
<p class="MsoNormal">Günter Wagner<b><span style="font-size:12.0pt;color:#1F497D"><br>
</span></b>Carl-Orff-Weg 7<br>
79312 Emmendingen<br>
Tel.: 07641/9621668<br>
Fax: 07641/915599<br>
<a href="http://www.wagner-it.de/" moz-do-not-send="true">www.wagner-it.de</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> QGIS-DE
<a class="moz-txt-link-rfc2396E" href="mailto:qgis-de-bounces@lists.osgeo.org"><qgis-de-bounces@lists.osgeo.org></a> <b>Im Auftrag von
</b>Ulferts, Lothar via QGIS-DE<br>
<b>Gesendet:</b> Montag, 11. November 2024 11:30<br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:qgis-de@lists.osgeo.org">qgis-de@lists.osgeo.org</a><br>
<b>Betreff:</b> [QGIS-DE] Dezimalstellen auch mit
anhängenden Nullen<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hallo zusammen,<o:p></o:p></p>
<p style="margin-bottom:12.0pt">ich möchte die Darstellung von
Werten in der Tabellenanzeige und der Anzeige im
Attributformular auf drei Nachkommastellen erzwingen ( Bsp:
8,100). Leider werden angehängte Nullen unterdrückt (hier:
8,1). Die Datenquelle ist eine gpkg-Tabelle. Die Werte werden
mit "round(x(@geometry), 3)" gerechnet, Das Attributformular
ist mit Drag&Drop zusammengestellt.<o:p></o:p></p>
<div>
<p>Mit schönen Grüßen aus Osnabrück<br>
Lothar<o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid #627B8F 1.5pt;padding:0cm 0cm 1.0pt 0cm">
<p style="margin-bottom:12.0pt;border:none;padding:0cm"><o:p> </o:p></p>
</div>
<p style="margin-right:263.65pt"><b>Lothar Ulferts</b><br>
<b>Hochschule Osnabrück</b><br>
Fakultät A&L<br>
Fachgebiet Geoinformatik & Vermessung<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="noshade" style="color:#698194" align="center"></div>
<p style="margin-right:263.65pt">Oldenburger Landstraße 24<br>
49090 Osnabrück<br>
Raum HM 0001<br>
WGS84 Mercator: <i>8,0375° O 52,3047° N</i><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="noshade" style="color:#6F889C" align="center"></div>
<p style="margin-right:263.65pt">Tel.: <i>0541 969- 5080</i><br>
Fax: <i>0541 969-15080</i><br>
Mail: <a href="mailto:l.ulferts@hs-osnabrueck.de" moz-do-not-send="true"><i>l.ulferts@hs-osnabrueck.de</i></a><o:p></o:p></p>
<p style="mso-margin-top-alt:5.0pt;margin-right:263.65pt;margin-bottom:12.0pt;margin-left:0cm"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="Bild_x0020_2" o:spid="_x0000_s1026" type="#_x0000_t75" style='position:absolute;margin-left:0;margin-top:0;width:246.75pt;height:33.75pt;z-index:251658240;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:0;mso-wrap-distance-top:0;mso-wrap-distance-right:0;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:line;mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;mso-height-relative:page' o:allowoverlap="f">
<v:imagedata src="HSOS_WIR_Signatur_192.png" />
<w:wrap type="square" anchory="line"/>
</v:shape><![endif]--><!--[if !vml]--><img width="329" height="45" style="width:3.425in;height:.4666in" src="HSOS_WIR_Signatur_192.png" align="left" v:shapes="Bild_x0020_2" moz-do-not-send="true"><!--[endif]--><o:p></o:p></p>
</div>
</div>
</blockquote>
<div class="moz-signature">-- <br>
<title></title>
<meta name="generator" content="LibreOffice 7.6.4.1 (Windows)">
<meta name="created" content="00:00:00">
<meta name="changedby" content="Lothar Ulferts">
<meta name="changed" content="2024-01-09T08:26:47.246000000">
<p>Mit schönen Grüßen aus Haste<br>
Lothar Ulferts</p>
<p style="border-top: none; border-bottom: 1.50pt solid #627b8f; border-left: none; border-right: none; padding-top: 0cm; padding-bottom: 0.05cm; padding-left: 0cm; padding-right: 0cm">
<br>
<br>
</p>
<p style="margin-right: 9.3cm; background: transparent"><b>Lothar
Ulferts</b><br>
<b>Hochschule Osnabrück</b><br>
Fakultät
A&L<br>
Fachgebiet Geoinformatik & Vermessung</p>
<hr size="1" color="#698194" noshade="noshade">
<p style="margin-right: 9.3cm; background: transparent">Oldenburger
Landstraße 24<br>
49090 Osnabrück<br>
Raum HM 0001<br>
WGS84
Mercator: <i>8,0375° O 52,3047° N</i></p>
<hr size="1" color="#6f889c" noshade="noshade">
<p style="margin-right: 9.3cm; background: transparent">Tel.: <i>0541
969- 5080</i><br>
Fax: <i>0541 969-15080</i><br>
Mail:
<a href="mailto:l.ulferts@hs-osnabrueck.de"><i>l.ulferts@hs-osnabrueck.de</i></a></p>
<p style="margin-right: 9.3cm; background: transparent"><img src="./HSOS_WIR_Signatur_192.png" name="Logo der Hochschule" align="left" width="329" height="45" border="0">
<br>
<br>
</p>
</div>
</body>
</html>