<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Währungsformat]]></title><description><![CDATA[<p>Hey,</p>
<p>als Anfänger habe ich mir ein Label auf meine Form gestellt die das Ergebnis einer Multiplikation anzeigen soll. Dies funktioniert auch solange ich ein Ergebnis mit einem Kommawert herausbekomme. (50,78)<br />
Ist das Ergebnis jetzt aber kein Kommawert wie z.B. 50 hätte ich gerne 50,00 angezeigt. Wie bringe ich dies meine Label bei ???</p>
<p>mfg<br />
keineAhnung2</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/141806/währungsformat</link><generator>RSS for Node</generator><lastBuildDate>Mon, 03 Aug 2026 20:25:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/141806.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Mar 2006 09:37:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Währungsformat on Sat, 25 Mar 2006 09:37:07 GMT]]></title><description><![CDATA[<p>Hey,</p>
<p>als Anfänger habe ich mir ein Label auf meine Form gestellt die das Ergebnis einer Multiplikation anzeigen soll. Dies funktioniert auch solange ich ein Ergebnis mit einem Kommawert herausbekomme. (50,78)<br />
Ist das Ergebnis jetzt aber kein Kommawert wie z.B. 50 hätte ich gerne 50,00 angezeigt. Wie bringe ich dies meine Label bei ???</p>
<p>mfg<br />
keineAhnung2</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1023562</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1023562</guid><dc:creator><![CDATA[keineAhnung2]]></dc:creator><pubDate>Sat, 25 Mar 2006 09:37:07 GMT</pubDate></item><item><title><![CDATA[Reply to Währungsformat on Sat, 25 Mar 2006 09:40:14 GMT]]></title><description><![CDATA[<p>Mit beispielsweise</p>
<p>AnsiString::CurrToStrF Methode<br />
AnsiString::Format Methode<br />
AnsiString::FmtLoadStr Methode</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1023564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1023564</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Sat, 25 Mar 2006 09:40:14 GMT</pubDate></item><item><title><![CDATA[Reply to Währungsformat on Sat, 25 Mar 2006 14:34:07 GMT]]></title><description><![CDATA[<p>double = Ergebnis;</p>
<p>lt. Bcb-Hilfe lege ich folgendes fest:</p>
<p>DecimalSeparator = ','; // Trennzeichen ist ein Komma<br />
CurrencyDecimals = 2; //Stellen hinter dem Komma<br />
CurrencyFormat = 3; //Währungszeichen steht hinter dem Betrag</p>
<p>Label1-&gt;Caption = Ergebnis;</p>
<p>?? wie übernehme ich die Formatierung ???</p>
<p>Ein Beispiel das funktioniert:</p>
<p>DataSeparator = '.';<br />
ShortDateFormat = &quot;dd/mm/yyyy&quot;;</p>
<p>Label1-&gt;Caption = DateToStr(Date());</p>
<p>Wer kann helfen die Formatierung zu übernehmen ??</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1023730</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1023730</guid><dc:creator><![CDATA[keineAhnung2]]></dc:creator><pubDate>Sat, 25 Mar 2006 14:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to Währungsformat on Sat, 25 Mar 2006 14:46:43 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>zum Beispiel so</p>
<pre><code class="language-cpp">float x = 3.14;
 AnsiString Text = FloatToStrF(x, ffCurrency, 10, 2);
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1023733</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1023733</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 25 Mar 2006 14:46:43 GMT</pubDate></item><item><title><![CDATA[Reply to Währungsformat on Sat, 25 Mar 2006 15:35:44 GMT]]></title><description><![CDATA[<p>Hallo akari,</p>
<p>Deine Tipps sind immer wieder Toll.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1023771</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1023771</guid><dc:creator><![CDATA[keineAhnung2]]></dc:creator><pubDate>Sat, 25 Mar 2006 15:35:44 GMT</pubDate></item></channel></rss>