<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Ergebnis Runden</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/3b427c2212/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/3b427c2212/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/3b427c2212/</id><updated>2021-11-26T15:56:00.079000Z</updated><subtitle>Recent posts to Ergebnis Runden</subtitle><entry><title>Ergebnis Runden</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/3b427c2212/?limit=25#b9f3" rel="alternate"/><published>2021-11-26T15:56:00.079000Z</published><updated>2021-11-26T15:56:00.079000Z</updated><author><name>thommy54</name><uri>https://forge.codesys.com/u/thommy54/</uri></author><id>https://forge.codesys.comab317ca15a9c30b29f24456a99527ee60e0c144f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
mit der oscat_basic-Lib ( von der Codesys-Seite kostenlos downloaden) mache ich sowas:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;my_string:= oscat_basic.REAL_TO_STRF(.r_Temperatur,1,'.');&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;"1" .. 1 Stelle nach dem Komma&lt;br/&gt;
"." .. Dezimal-Zeichen&lt;/p&gt;
&lt;p&gt;Will ich die REAL-Zahl mit einer Kommastelle erzeugen, muss ich den String wieder in Real verwandeln.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="c"&gt;my_real:=STRING_TO_REAL(oscat_basic.REAL_TO_STRF(.r_Temperatur,1,'.'));&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Grüße&lt;br/&gt;
Thomas&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ergebnis Runden</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/3b427c2212/?limit=25#b70a" rel="alternate"/><published>2021-11-24T16:17:38.068000Z</published><updated>2021-11-24T16:17:38.068000Z</updated><author><name>zobas</name><uri>https://forge.codesys.com/u/zobas/</uri></author><id>https://forge.codesys.com490264ef8666c2eeb6403f0f7ae3e4e3965b1e4d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Gude,&lt;br/&gt;
ich habe ein Ergebnis vom typ REAL. Diese möchte ich nach einer kommastelle runden. Wie mache ich das?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>