<?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[Double funktioniert nicht.]]></title><description><![CDATA[<p>Ich hab mal ne Frage:</p>
<p>wieso ist die if bedingung in diesem falle falsch?</p>
<pre><code class="language-cpp">Label1-&gt;Caption = &quot;12,9&quot;;
double x = 12.9;
if (x == Label1-&gt;Caption.ToDouble()) Close();
</code></pre>
<p>ich habs mal so ausprobiert und so gehts:</p>
<pre><code class="language-cpp">Label1-&gt;Caption = &quot;12,9&quot;;
double x = 12.9;
double y;
y = Label1-&gt;Caption.ToDouble();
if (x == y) Close();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/150285/double-funktioniert-nicht</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 12:07:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/150285.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jun 2006 19:59:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Double funktioniert nicht. on Wed, 14 Jun 2006 19:59:07 GMT]]></title><description><![CDATA[<p>Ich hab mal ne Frage:</p>
<p>wieso ist die if bedingung in diesem falle falsch?</p>
<pre><code class="language-cpp">Label1-&gt;Caption = &quot;12,9&quot;;
double x = 12.9;
if (x == Label1-&gt;Caption.ToDouble()) Close();
</code></pre>
<p>ich habs mal so ausprobiert und so gehts:</p>
<pre><code class="language-cpp">Label1-&gt;Caption = &quot;12,9&quot;;
double x = 12.9;
double y;
y = Label1-&gt;Caption.ToDouble();
if (x == y) Close();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1077852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1077852</guid><dc:creator><![CDATA[Lito]]></dc:creator><pubDate>Wed, 14 Jun 2006 19:59:07 GMT</pubDate></item><item><title><![CDATA[Reply to Double funktioniert nicht. on Wed, 14 Jun 2006 20:28:12 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>siehe zum Beispiel <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-92895-and-highlight-is-%2Aepsilon%2A.html" rel="nofollow">hier</a>.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1077859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1077859</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 14 Jun 2006 20:28:12 GMT</pubDate></item><item><title><![CDATA[Reply to Double funktioniert nicht. on Fri, 16 Jun 2006 07:30:07 GMT]]></title><description><![CDATA[<p>Liegt es nicht an dem ',' (statt '.') im String?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1078662</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1078662</guid><dc:creator><![CDATA[Tilsiter]]></dc:creator><pubDate>Fri, 16 Jun 2006 07:30:07 GMT</pubDate></item><item><title><![CDATA[Reply to Double funktioniert nicht. on Fri, 16 Jun 2006 08:09:10 GMT]]></title><description><![CDATA[<p>Wenn die Ländereinstellung von Windows deutsch ist, bzw. das Komma der Dezimaltrenner ist nicht. siehe auch DecimalSeparator</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1078677</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1078677</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Fri, 16 Jun 2006 08:09:10 GMT</pubDate></item></channel></rss>