<?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[aufrunden abschalten]]></title><description><![CDATA[<p>hi, wie kann ich das aufrunden abschalten beim compiler? zb visual c 8.0<br />
alles unter 1 soll auf 0 abgerundet werden...<br />
zb 0.95 -&gt; 0, 0.5 -&gt; 0, 0.2 -&gt; 0</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159268/aufrunden-abschalten</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 08:08:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159268.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Sep 2006 12:47:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 12:47:26 GMT]]></title><description><![CDATA[<p>hi, wie kann ich das aufrunden abschalten beim compiler? zb visual c 8.0<br />
alles unter 1 soll auf 0 abgerundet werden...<br />
zb 0.95 -&gt; 0, 0.5 -&gt; 0, 0.2 -&gt; 0</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136609</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136609</guid><dc:creator><![CDATA[marko1]]></dc:creator><pubDate>Wed, 13 Sep 2006 12:47:26 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 12:50:33 GMT]]></title><description><![CDATA[<p>am besten waere die nachkommastellen abschneiden...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136612</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136612</guid><dc:creator><![CDATA[marko1]]></dc:creator><pubDate>Wed, 13 Sep 2006 12:50:33 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 12:51:03 GMT]]></title><description><![CDATA[<p>Mach eine if anweisung :p</p>
<pre><code class="language-cpp">if(Value&lt;1)
{
 Value=0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1136614</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136614</guid><dc:creator><![CDATA[MartinMilbret]]></dc:creator><pubDate>Wed, 13 Sep 2006 12:51:03 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 12:52:28 GMT]]></title><description><![CDATA[<p>ich habe aber zahlen von 0 - x</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136615</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136615</guid><dc:creator><![CDATA[makro1]]></dc:creator><pubDate>Wed, 13 Sep 2006 12:52:28 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 12:57:52 GMT]]></title><description><![CDATA[<p>printf mit %0.0lf wuerde gehen bei float.... aber wie macht man das wenn man nur integer verwendet?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136622</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136622</guid><dc:creator><![CDATA[makro1]]></dc:creator><pubDate>Wed, 13 Sep 2006 12:57:52 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 12:59:27 GMT]]></title><description><![CDATA[<p>Integer haben keine Nachkommastellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136625</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Wed, 13 Sep 2006 12:59:27 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 13:01:55 GMT]]></title><description><![CDATA[<p>Wie kann man das überhaupt einschalten? Wenn ich eine Fliesskommazahl einer Ganzzahlvariablen zuweise, wird diese abgeschnitten. Aufrunden kostet extra, bzw. muß extra programmiert werden. Wenn Dein Compiler kaufmännisch rundet, dann ist es ein Fehler im Compiler.</p>
<p>Tntnet</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136628</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136628</guid><dc:creator><![CDATA[tntnet]]></dc:creator><pubDate>Wed, 13 Sep 2006 13:01:55 GMT</pubDate></item><item><title><![CDATA[Reply to aufrunden abschalten on Wed, 13 Sep 2006 13:08:01 GMT]]></title><description><![CDATA[<p>redet es vielleicht vom fpu control word?</p>
<blockquote>
<p>The Rounding Control field (bits 11 and 10) determines how the FPU will round results in one of four ways:<br />
00 = Round to nearest, or to even if equidistant (this is the initialized state)<br />
01 = Round down (toward -infinity)<br />
10 = Round up (toward +infinity)<br />
11 = Truncate (toward 0)</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1136637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136637</guid><dc:creator><![CDATA[hellihjb]]></dc:creator><pubDate>Wed, 13 Sep 2006 13:08:01 GMT</pubDate></item></channel></rss>