<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to question</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf5bd533f5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf5bd533f5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/cf5bd533f5/</id><updated>2020-02-27T17:23:02.283000Z</updated><subtitle>Recent posts to question</subtitle><entry><title>question</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf5bd533f5/?limit=25#8b44" rel="alternate"/><published>2020-02-27T17:23:02.283000Z</published><updated>2020-02-27T17:23:02.283000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.come1a87ba8b0da780ddd9ce79d126fdd8432edd103</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;thankss &lt;/p&gt;
&lt;p&gt;CHK_REAL in oscat.basic&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf5bd533f5/?limit=25#8fc7" rel="alternate"/><published>2020-02-27T17:23:01.290000Z</published><updated>2020-02-27T17:23:01.290000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com68ae8463257a253a1a7b2264d0ac41bfa594d98e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I think that in oscat there are a function which test if an real is infinite.&lt;/p&gt;
&lt;p&gt;If not, search in wikipedia how an float number is bit coded. After read the float as ulint, there are a bit which mark the number as infinite.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cf5bd533f5/?limit=25#b3c7" rel="alternate"/><published>2020-02-27T17:22:58.510000Z</published><updated>2020-02-27T17:22:58.510000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.com6f0845d92c2ef603012d2cfaefc345052bc4253e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello:&lt;br/&gt;
Is there any way that if a calculation gives me infinite as a result, it returns a 0?&lt;/p&gt;
&lt;p&gt;I tried something like&lt;/p&gt;
&lt;p&gt;and try that instead of infinity I get 0 with&lt;br/&gt;
IF out := "Infinity" THEN&lt;br/&gt;
     out := 0&lt;br/&gt;
END_IF&lt;/p&gt;
&lt;p&gt;but logically recognizes it as a string and it does not work, is there a way to do what I want?&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Captura.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3344"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>