<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>comparing text instead of numbers resulting in wrong sorting</title><link>https://www.infopathdev.com:443/forums/thread/93860.aspx</link><pubDate>Thu, 24 Oct 2013 09:04:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93860</guid><dc:creator>Arvid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93860</wfw:commentRss><description>&lt;p&gt;I have a form with lots of check and radio buttons which I summerize in several fields.&lt;/p&gt;&lt;p&gt;At the end I have two totals, one for women and one for men.&lt;/p&gt;&lt;p&gt;So far so good.&lt;/p&gt;&lt;p&gt;Now I want the highest number to show in a different field, so I make a rule with a condition in the womenField and one in the menField to do that. ANd that works .... most of the times.&lt;/p&gt;&lt;p&gt;if I have for example 5 and 8 it chooses 8. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;If I add 4 and the two fields become 9 and 12 it chosses 9????&lt;/p&gt;&lt;p&gt;if I add something again and it becomes 10 and 13 then it is correct again.&lt;/p&gt;&lt;p&gt;I thought it&amp;#39;s because it checks the numbers not as a number but as text, so I chose for all the fields integer as datatype but that doesn&amp;#39;t change a thing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why is it that the condition womenField &amp;gt; menField does not render correctly?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thank you&amp;nbsp;&lt;/p&gt;&lt;p&gt;Arvid &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>