<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Convert string to real.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/</id><updated>2022-08-22T11:26:26.442000Z</updated><subtitle>Recent posts to Convert string to real.</subtitle><entry><title>Convert string to real.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/?limit=250#bb55" rel="alternate"/><published>2022-08-22T11:26:26.442000Z</published><updated>2022-08-22T11:26:26.442000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com00d7be6d56e70c847d242befcbebd70497fab5a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I don't know about general purpose variable writing, but you should have a look at the forums. Already saw a post trying to get values from a file (like JSON does)&lt;/p&gt;
&lt;p&gt;For specific purposes and few variables, you may do it in 2 steps.&lt;br/&gt;
1) Get the variable name and test if it match one expected&lt;br/&gt;
2) Convert the value to desired datatype &lt;a href="https://help.codesys.com/webapp/_cds_operator_string_to;product=codesys;version=3.5.14.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_operator_string_to;product=codesys;version=3.5.14.0&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Convert string to real.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/734f0af653/?limit=25#6816" rel="alternate"/><published>2022-08-22T10:38:35.450000Z</published><updated>2022-08-22T10:38:35.450000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/</uri></author><id>https://forge.codesys.com484d6fd1ccdcfc30f51f49773078d7b42429e92c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Do someone have any simple idea how convert this string : 'temp=44.4$'C$N'&lt;br/&gt;
to real variable temp= 44.5 ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>