<?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[TEdit-Werte]]></title><description><![CDATA[<p>Hallo liebe Leute,</p>
<p>wie kann man aus einem TEdit-Modul den Wert in eine float-Variable speichern um mit ihr rechnen zu können? Ich hoffe auf eure Hilfe.<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159376/tedit-werte</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 23:41:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159376.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Sep 2006 12:38:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 12:38:40 GMT]]></title><description><![CDATA[<p>Hallo liebe Leute,</p>
<p>wie kann man aus einem TEdit-Modul den Wert in eine float-Variable speichern um mit ihr rechnen zu können? Ich hoffe auf eure Hilfe.<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137284</guid><dc:creator><![CDATA[C++ Opfer]]></dc:creator><pubDate>Thu, 14 Sep 2006 12:38:40 GMT</pubDate></item><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 12:41:34 GMT]]></title><description><![CDATA[<p>Ich tippe mal auf StrToFloat...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137290</guid><dc:creator><![CDATA[GCoder]]></dc:creator><pubDate>Thu, 14 Sep 2006 12:41:34 GMT</pubDate></item><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 12:45:07 GMT]]></title><description><![CDATA[<p>Bitte etwas präziser. Bin noch ein NewBe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137296</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137296</guid><dc:creator><![CDATA[C++ Opfer]]></dc:creator><pubDate>Thu, 14 Sep 2006 12:45:07 GMT</pubDate></item><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 12:47:37 GMT]]></title><description><![CDATA[<p>Bitte Tutorial reinziehen.<br />
Danke.</p>
<pre><code class="language-cpp">float DasIstEinFoat=StrToFloat(Edit1-&gt;Text);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1137299</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137299</guid><dc:creator><![CDATA[GCoder]]></dc:creator><pubDate>Thu, 14 Sep 2006 12:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 13:04:35 GMT]]></title><description><![CDATA[<p>Danke dir. Das ist nett. Werde mich mal intensiver damit beschäftigen. Bin plötzlich in das Thema reingeworfen worden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137311</guid><dc:creator><![CDATA[C++ Opfer]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:04:35 GMT</pubDate></item><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 13:10:04 GMT]]></title><description><![CDATA[<p>Wie immer gibt es mehrere Wege die zum Ziel führen. Es gäbe noch die Möglichkeit:</p>
<pre><code class="language-cpp">double dTemp = Edit1-&gt;Text.ToDouble();
</code></pre>
<p>Diese Version, als auch die von GCoder gezeigte Möglichkeit, sollten in ein Try-Catch eingeschlossen werden, nur für den Fall, das in dem Edit etwas drinsteht, das nicht in eine Fließkommazahl gewandelt werden kann.</p>
<p>Es gäge auch noch die Möglichkeit StrToFloatDef zu verwenden, hier muß keine try-catch verwendet werden, sondern man kann einen Defaultwert übergeben, der zur Anwendung kommt, wenn der Inhalt des Edits nicht gewandelt werden kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137321</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137321</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:10:04 GMT</pubDate></item><item><title><![CDATA[Reply to TEdit-Werte on Thu, 14 Sep 2006 13:23:01 GMT]]></title><description><![CDATA[<p>Danke dir auch Joe_M.<br />
Sehr gute Tipps von euch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137329</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137329</guid><dc:creator><![CDATA[C++ Opfer]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:23:01 GMT</pubDate></item></channel></rss>