<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Converting numeric variables to RemoteXY "text" strings]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1779</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1779&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Converting numeric variables to RemoteXY "text" strings.]]></description>
		<lastBuildDate>Fri, 22 Mar 2024 17:31:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Converting numeric variables to RemoteXY "text" strings]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5460#p5460</link>
			<description><![CDATA[<div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>We talked about some conversion functions here <a target="_blank" href="https://remotexy.com/en/help/indications/text/">https://remotexy.com/en/help/indications/text/</a></p></blockquote></div><p>Thanks for that link, I was looking in the wrong place for it...</p><div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>We also plan to add the ability to display different types of data to the <strong>Text string</strong> element</p></blockquote></div><p>I believe that a simpler modification would be an option to make a numeric EDIT field non-editable.&nbsp; Then it becomes a convenient numeric display field. Also the option to remove the border would be good...</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Fri, 22 Mar 2024 17:31:30 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5460#p5460</guid>
		</item>
		<item>
			<title><![CDATA[Re: Converting numeric variables to RemoteXY "text" strings]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5454#p5454</link>
			<description><![CDATA[<p>We talked about some conversion functions here <a target="_blank" href="https://remotexy.com/en/help/indications/text/">https://remotexy.com/en/help/indications/text/</a><br />We also plan to add the ability to display different types of data to the <strong>Text string</strong> element</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Fri, 22 Mar 2024 07:20:34 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5454#p5454</guid>
		</item>
		<item>
			<title><![CDATA[Re: Converting numeric variables to RemoteXY "text" strings]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5451#p5451</link>
			<description><![CDATA[<p>Ok, so I&#039;m getting somewhere - </p><p>The &quot;totalmins&quot; variable, declared as an &quot;unsigned long&quot; is easily converted to the RemoteXY &quot;char&quot; data-type with...</p><div class="codebox"><pre><code>dtostrf(totalmins, 4, 0, RemoteXY.totalmins);</code></pre></div><p>But why do I have to declare totalmins as an &quot;unsigned long&quot; when the variable will be constrained to 0-999 ?</p><p>Are there functions to convert uint16_t or uint8_t to a string ?</p><p>Anyone point me to a decent tutorial covering all of this ?</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Thu, 21 Mar 2024 22:05:07 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5451#p5451</guid>
		</item>
		<item>
			<title><![CDATA[Converting numeric variables to RemoteXY "text" strings]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5446#p5446</link>
			<description><![CDATA[<p>Got to admit I find this area of programming a bit of a minefield...</p><p>I have some internal numeric variables, both integer and float, that I need to convert into the char arrays used by the RemoteXY interface and GUI.</p><p>I know it should be easy enough to do, but getting so much confusing information on the web, it&#039;s mashing my brain....</p><p>Example of my RemoteXY declarations, which should enable me to convert any of the other numbers, are:-</p><p>char totalmins[9]; : This needs to be converted from my internal variable&nbsp; uint16_t&nbsp; &nbsp;totalmins;<br />char cost[6]; :&nbsp; This to be converted from float&nbsp; cost; and to display&nbsp; ###.## format.</p><p>If someone could explain how to do this, it will bump me up the learning curve, and I&#039;d be extremely grateful....</p><p>TIA</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Thu, 21 Mar 2024 13:07:48 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5446#p5446</guid>
		</item>
	</channel>
</rss>
