<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Discrepancy in decimal value being written to SQL</title><link>https://www.infopathdev.com:443/forums/thread/47142.aspx</link><pubDate>Fri, 18 Sep 2009 17:45:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47142</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47142.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47142</wfw:commentRss><description>&lt;p&gt;Hi, Mark:&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t want to leave this question as unanswered. As we resolved earlier today, the issue had to do with a rule that was setting the value of the field and some confusion as to what the field&amp;#39;s actual value was. Not a SQL issue at all.&lt;/p&gt;</description></item><item><title>Discrepancy in decimal value being written to SQL</title><link>https://www.infopathdev.com:443/forums/thread/47132.aspx</link><pubDate>Fri, 18 Sep 2009 14:47:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47132</guid><dc:creator>mbrady1973</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47132</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a form field in infopath that calculates a percent (formatted as a percent), that when submitted writes the value as a decimal to SQL. The odd behavior is that in my form, the percent would read as &amp;#39;0.15%&amp;#39;, and when written to SQL, it reads as &amp;#39;-0.0041198501872660030000000&amp;#39;..... as you can see, it goes from moderately positive (as displayed in form), to a slightly negative number (as written in SQL). &lt;/p&gt;
&lt;p&gt;Is it possible that there is an issue with the precision and scale? It is set to (38,25) &lt;/p&gt;
&lt;p&gt;I hope this will make sense?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>