<?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[Flaot zahl formatieren]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir jemand sagen wie eine float zahl so in einen String formatiert bekomme, das sie immer 6 stellen hat.</p>
<p>also quasi aus 11,2 soll werden 011,200 mit FloatToStrF bekomm ich ich das hinter dem komma hin aber nicht das der mir noch ne 0 davor schreibt.</p>
<p>Danke schonmal.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192068/flaot-zahl-formatieren</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 20:18:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192068.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Sep 2007 08:34:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Flaot zahl formatieren on Mon, 10 Sep 2007 08:34:12 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>kann mir jemand sagen wie eine float zahl so in einen String formatiert bekomme, das sie immer 6 stellen hat.</p>
<p>also quasi aus 11,2 soll werden 011,200 mit FloatToStrF bekomm ich ich das hinter dem komma hin aber nicht das der mir noch ne 0 davor schreibt.</p>
<p>Danke schonmal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362375</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362375</guid><dc:creator><![CDATA[JBOpael]]></dc:creator><pubDate>Mon, 10 Sep 2007 08:34:12 GMT</pubDate></item><item><title><![CDATA[Reply to Flaot zahl formatieren on Mon, 10 Sep 2007 08:41:04 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Alternativen wären AnsiString::Format oder AnsiString::sprintf. Bei beiden kannst du Formatstrings verwenden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362381</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362381</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Mon, 10 Sep 2007 08:41:04 GMT</pubDate></item><item><title><![CDATA[Reply to Flaot zahl formatieren on Fri, 25 Oct 2013 08:31:44 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Versuch mal sprintf.</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362384</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362384</guid><dc:creator><![CDATA[maikhaenig]]></dc:creator><pubDate>Fri, 25 Oct 2013 08:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to Flaot zahl formatieren on Mon, 10 Sep 2007 09:23:35 GMT]]></title><description><![CDATA[<p>und wie soll das gehen?</p>
<p>printf(&quot;999,999&quot;, 12.3) so funzt es auf jedenfall nicht.</p>
<p>Danke für die Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362406</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362406</guid><dc:creator><![CDATA[JBOpael]]></dc:creator><pubDate>Mon, 10 Sep 2007 09:23:35 GMT</pubDate></item><item><title><![CDATA[Reply to Flaot zahl formatieren on Mon, 10 Sep 2007 09:36:48 GMT]]></title><description><![CDATA[<p>Schau doch einfach mal in die Hilfe zu den Formatstrings.</p>
<pre><code class="language-cpp">printf(&quot;%08.3f&quot;,f);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1362416</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362416</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Mon, 10 Sep 2007 09:36:48 GMT</pubDate></item><item><title><![CDATA[Reply to Flaot zahl formatieren on Tue, 11 Sep 2007 15:05:59 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Du könntest auch FloatToStrF verwenden und per Insert() solange '0' an den Anfang anfügen, bis eine bestimmte Länge erreicht ist.</p>
<p>Liebe Grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363435</guid><dc:creator><![CDATA[Thoms]]></dc:creator><pubDate>Tue, 11 Sep 2007 15:05:59 GMT</pubDate></item><item><title><![CDATA[Reply to Flaot zahl formatieren on Tue, 11 Sep 2007 15:38:11 GMT]]></title><description><![CDATA[<p>Was ist mit FormatFloat(&quot;000.000&quot;,zahl)?</p>
<p>mfg<br />
xXx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363458</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363458</guid><dc:creator><![CDATA[-**xXx**-]]></dc:creator><pubDate>Tue, 11 Sep 2007 15:38:11 GMT</pubDate></item></channel></rss>