<?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[[erledigt] str.Format(&amp;quot;Floatzahl: %f&amp;quot;, floatvariable): Anzahl der angezeigten Stellen beschränken]]></title><description><![CDATA[<p>Hallo allerseits!</p>
<p>Weiß jemand zufällig, wie man bei</p>
<pre><code class="language-cpp">CString str;
str.Format(L&quot;Floatzahl: %f&quot;, floatvariable);
</code></pre>
<p>die Anzahl der ausgegebenen Nachkommastellen einstellen kann?</p>
<p>Ich habe danach gesucht, habe auch viel gefunden, aber nichts passendes... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Danke und Gruß!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/152951/erledigt-str-format-quot-floatzahl-f-quot-floatvariable-anzahl-der-angezeigten-stellen-beschränken</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 22:33:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/152951.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Jul 2006 12:47:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [erledigt] str.Format(&amp;quot;Floatzahl: %f&amp;quot;, floatvariable): Anzahl der angezeigten Stellen beschränken on Tue, 11 Jul 2006 15:22:14 GMT]]></title><description><![CDATA[<p>Hallo allerseits!</p>
<p>Weiß jemand zufällig, wie man bei</p>
<pre><code class="language-cpp">CString str;
str.Format(L&quot;Floatzahl: %f&quot;, floatvariable);
</code></pre>
<p>die Anzahl der ausgegebenen Nachkommastellen einstellen kann?</p>
<p>Ich habe danach gesucht, habe auch viel gefunden, aber nichts passendes... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Danke und Gruß!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095773</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095773</guid><dc:creator><![CDATA[dong]]></dc:creator><pubDate>Tue, 11 Jul 2006 15:22:14 GMT</pubDate></item><item><title><![CDATA[Reply to [erledigt] str.Format(&amp;quot;Floatzahl: %f&amp;quot;, floatvariable): Anzahl der angezeigten Stellen beschränken on Tue, 11 Jul 2006 13:00:03 GMT]]></title><description><![CDATA[<p>Format() verwendet die selben Spezifikationen wie <a href="http://man.cx/printf" rel="nofollow">man: printf</a>, also schau mal dort nach <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>(Lösung: &quot;%.3f&quot; - Darstellung mit drei Stellen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095790</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095790</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 11 Jul 2006 13:00:03 GMT</pubDate></item><item><title><![CDATA[Reply to [erledigt] str.Format(&amp;quot;Floatzahl: %f&amp;quot;, floatvariable): Anzahl der angezeigten Stellen beschränken on Tue, 11 Jul 2006 15:21:39 GMT]]></title><description><![CDATA[<p>Danke! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1095873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1095873</guid><dc:creator><![CDATA[dong]]></dc:creator><pubDate>Tue, 11 Jul 2006 15:21:39 GMT</pubDate></item></channel></rss>