<?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[Zahl Aufrunden]]></title><description><![CDATA[<p>Hallo,</p>
<p>weiß jemand wie ich eine 64-bit integer Rechenoperation aufrunden kann?</p>
<p>gibt es dafür bestimmte Befehle die ich gerade nicht zur verfügung habe?</p>
<p>gruß Florence</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/132082/zahl-aufrunden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 06:19:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/132082.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Jan 2006 08:27:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 08:27:54 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>weiß jemand wie ich eine 64-bit integer Rechenoperation aufrunden kann?</p>
<p>gibt es dafür bestimmte Befehle die ich gerade nicht zur verfügung habe?</p>
<p>gruß Florence</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960392</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960392</guid><dc:creator><![CDATA[Florence]]></dc:creator><pubDate>Sun, 08 Jan 2006 08:27:54 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 08:44:04 GMT]]></title><description><![CDATA[<p>was willst du bei integers noch runden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960397</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960397</guid><dc:creator><![CDATA[c.rackwitz]]></dc:creator><pubDate>Sun, 08 Jan 2006 08:44:04 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 13:36:00 GMT]]></title><description><![CDATA[<p>Das macht der Compiler doch von alleine:</p>
<pre><code class="language-cpp">#include &lt;iostream.h&gt;

void main(void)
{

	float f=5.44531f;
	int i=f;

	cout &lt;&lt; i &lt;&lt; '\t' &lt;&lt; f&lt;&lt;endl;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/960529</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960529</guid><dc:creator><![CDATA[qasdfgh]]></dc:creator><pubDate>Sun, 08 Jan 2006 13:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 13:40:49 GMT]]></title><description><![CDATA[<p>qasdfgh schrieb:</p>
<blockquote>
<p>Das macht der Compiler doch von alleine:</p>
<pre><code class="language-cpp">#include &lt;iostream.h&gt;

void main(void)
{

	float f=5.44531f;
	int i=f;

	cout &lt;&lt; i &lt;&lt; '\t' &lt;&lt; f&lt;&lt;endl;
}
</code></pre>
</blockquote>
<p>Da wird nichts gerundet. Da wird nur der Nachkommateil verworfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960536</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960536</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 08 Jan 2006 13:40:49 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 13:45:31 GMT]]></title><description><![CDATA[<p>wie kann man runden:<br />
- mathematisch<br />
- zur null<br />
- von der null weg<br />
- nach +unendlich<br />
- nach -unendlich<br />
und dabei:<br />
- zur naechsten (ganzen) zahl<br />
- zur naechsten (ganzen) geraden zahl</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960540</guid><dc:creator><![CDATA[c.rackwitz]]></dc:creator><pubDate>Sun, 08 Jan 2006 13:45:31 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 15:13:48 GMT]]></title><description><![CDATA[<p>Vorschlag</p>
<pre><code class="language-cpp">#include &lt;iostream.h&gt;

void main(void)
{

	float f=5.44531f;
	int i=f + 0.5f;

	cout &lt;&lt; i &lt;&lt; '\t' &lt;&lt; f&lt;&lt;endl;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/960649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960649</guid><dc:creator><![CDATA[Benutzername:]]></dc:creator><pubDate>Sun, 08 Jan 2006 15:13:48 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 15:51:12 GMT]]></title><description><![CDATA[<p>cout &lt;&lt; (int)(-1.9 + 0.5);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960694</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960694</guid><dc:creator><![CDATA[c.rackwitz]]></dc:creator><pubDate>Sun, 08 Jan 2006 15:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 16:06:14 GMT]]></title><description><![CDATA[<p>if(f&gt;0)<br />
int i=f + 0.5f;</p>
<p>if(f&lt;0)<br />
int i=f - 0.5f;</p>
<p>LOL</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960706</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960706</guid><dc:creator><![CDATA[IpOperator]]></dc:creator><pubDate>Sun, 08 Jan 2006 16:06:14 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 16:37:46 GMT]]></title><description><![CDATA[<p>qasdfgh schrieb:</p>
<blockquote>
<p>Das macht der Compiler doch von alleine:</p>
<pre><code class="language-cpp">#include &lt;iostream.h&gt;

void main(void)
{

	float f=5.44531f;
	int i=f;

	cout &lt;&lt; i &lt;&lt; '\t' &lt;&lt; f&lt;&lt;endl;
}
</code></pre>
</blockquote>
<p>Typischer post von dir ne? totaler quatsch!</p>
<p>void main, ein h hinter iostream, kein return 0. Kann ja wieder nur von dir kommen. dazu wird da nicht mal ansatzweise gerundet</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960792</guid><dc:creator><![CDATA[&#x27;#&#x27;]]></dc:creator><pubDate>Sun, 08 Jan 2006 16:37:46 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 17:35:58 GMT]]></title><description><![CDATA[<p>also auch wenn ich den running joke unbeabsichtigt kaputtmache, aber ich tät halt auf das altbewährte ceil(x); in der math.h zurückgreifen. wenn da was dagegen spricht, erklärts mir. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/960912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960912</guid><dc:creator><![CDATA[plapperkatz]]></dc:creator><pubDate>Sun, 08 Jan 2006 17:35:58 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Sun, 08 Jan 2006 17:37:07 GMT]]></title><description><![CDATA[<p>Danke für die eure Hilfe.<br />
genau das habe ich gebraucht.</p>
<p>Gruß</p>
<p>Florence</p>
]]></description><link>https://www.c-plusplus.net/forum/post/960915</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/960915</guid><dc:creator><![CDATA[Florence]]></dc:creator><pubDate>Sun, 08 Jan 2006 17:37:07 GMT</pubDate></item><item><title><![CDATA[Reply to Zahl Aufrunden on Tue, 10 Jan 2006 01:52:00 GMT]]></title><description><![CDATA[<p>mit +0.5 is aber nicht aufrunden! tipp: +0.9</p>
]]></description><link>https://www.c-plusplus.net/forum/post/962344</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/962344</guid><dc:creator><![CDATA[runder]]></dc:creator><pubDate>Tue, 10 Jan 2006 01:52:00 GMT</pubDate></item></channel></rss>