<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        &lt;br&gt;result = 4.589 - CInt(4.589)&lt;br&gt;&lt;br&gt;should do that.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4908</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4908</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven.&lt;br&gt;&lt;br&gt;For example, number 4,589&lt;br&gt;&lt;br&gt;I need a function in VBscript I separate the decimal integer. I need this decimal 0,589.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4908</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4908</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I&apos;m not sure that will get you want you are asking for. If you are trying to convert a comma into a period due to your international usage you may just want to change the &lt;br&gt;&lt;br&gt;Windows Start Button-&amp;gt;Control Panel-&amp;gt;Region and Language-&amp;gt;Additional Settings-&amp;gt;Change Decimal Symbol to a period.&lt;br&gt;&lt;br&gt;If you want to add the changes from the distance you start with a set base number and then check the difference to that number as apposed to adding each time it changes ... something like:&lt;br&gt;&lt;br&gt;if GetVariable(&quot;Start_Distance&quot;) = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;Start_Distance&quot;, GetVariable(&quot;distance&quot;)&lt;br&gt;end if&lt;br&gt;&lt;br&gt;SetVariable &quot;Total_Distance&quot;, GetVariable(&quot;distance&quot;) - GetVariable(&quot;Start_Distance&quot;)&lt;br&gt;&lt;br&gt;and that should do it.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4908</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4908</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Operating with decimals</title>
        <description>
        Hello.&lt;br&gt;&lt;br&gt;I can not do the program well to add a decimal integer.&lt;br&gt;&lt;br&gt;I have a variable &quot;distance&quot; made &amp;#8203;&amp;#8203;with two points with the module &quot;display_line&quot;. When the program runs this variable gives me incremental values &amp;#8203;&amp;#8203;as 6.355 / 6.489 / 6.590 / 6.654 ............&lt;br&gt;&lt;br&gt;I would like to add the difference in decimal value of each for a total distance &quot;Total distance&quot;. Eg&lt;br&gt;(6.489 to 6.355) = 0.134&lt;br&gt;(6.590 to 6.489) = 0.101&lt;br&gt;(6.654 to 6.590) = 0.064&lt;br&gt;&lt;br&gt;Therefore, the total distance &quot;Total distance&quot; is 0.134 + 0.101 + 0.064 = 0.299 m.&lt;br&gt;&lt;br&gt;This is the part of my VBScript program where I try to figure this.&lt;br&gt;&lt;br&gt;i = GetVariable(&quot;distance&quot;)&lt;br&gt;&lt;br&gt;decimal=Mid(CStr(3/2), 2, 1)&lt;br&gt;i=CDbl(Replace(CStr(i),&quot;,&quot;,decimal))&lt;br&gt;add=i+i&lt;br&gt;&lt;br&gt;SetVariable &quot;Total disatance&quot;,add&lt;br&gt;&lt;br&gt;Thanks so much.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4908</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4908</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
