<?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>Re: round() function doesn't work well</title><link>https://www.infopathdev.com:443/forums/thread/62888.aspx</link><pubDate>Fri, 07 Jan 2011 07:22:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62888</guid><dc:creator>edouard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62888</wfw:commentRss><description>&lt;p&gt;It works, thank you guys so much.&lt;/p&gt;</description></item><item><title>Re: round() function doesn't work well</title><link>https://www.infopathdev.com:443/forums/thread/62887.aspx</link><pubDate>Fri, 07 Jan 2011 07:12:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62887</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62887.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62887</wfw:commentRss><description>&lt;p&gt;Try using &lt;strong&gt;div 10000&lt;/strong&gt; instead of &lt;strong&gt;* 0.0001&lt;/strong&gt;.&amp;nbsp; That should work better.&lt;/p&gt;</description></item><item><title>Re: round() function doesn't work well</title><link>https://www.infopathdev.com:443/forums/thread/62877.aspx</link><pubDate>Fri, 07 Jan 2011 04:02:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62877</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62877.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62877</wfw:commentRss><description>&lt;p&gt;What&amp;#39;s the precision (data type) for the field that is receiving the calculated results? &lt;/p&gt;
&lt;p&gt;Is this all happening within InfoPath, or are you round-tripping the value to SQL and seeing the results change?&lt;/p&gt;</description></item><item><title>Re: round() function doesn't work well</title><link>https://www.infopathdev.com:443/forums/thread/62873.aspx</link><pubDate>Fri, 07 Jan 2011 01:59:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62873</guid><dc:creator>edouard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62873</wfw:commentRss><description>any ideas for this?
please help, this is urgent, it drive me crazy.</description></item><item><title>round() function doesn't work well</title><link>https://www.infopathdev.com:443/forums/thread/62854.aspx</link><pubDate>Thu, 06 Jan 2011 16:00:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62854</guid><dc:creator>edouard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62854.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=62854</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was so confused.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working on a project creating an InfoPath 2010 form which will submit to an SQL (2008 R2) database. Here&amp;#39;s a curious situation. I have two values, I use the round function to restrict the decimal portion to four. Here&amp;#39;s the basic calculation: round((@field1&amp;nbsp;/ @field2) * 10000) * 0.0001. The data is valid sometimes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;nbsp;did a test: seting field1 to 1, set field2 to (1,2,3,4,5,6,7,8,9,10,11), the results are (1, 0.5, 0.333300000, 0.25, 0.2, 0.166700000, 0.1429, 0.125, 0.1111, 0.1, 0.090900000), these invalid were when field2 are 3,6,11.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anyone have any ideas?&lt;/p&gt;</description></item></channel></rss>