<?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: How to calculating percentage correctly?</title><link>https://www.infopathdev.com:443/forums/thread/4396.aspx</link><pubDate>Mon, 09 Apr 2007 23:40:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4396</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4396</wfw:commentRss><description>Hi Marina,&lt;br /&gt;&lt;br /&gt;I played around with this a little bit and it looks like all of the calculations are happening as they should. I couldn't reproduce any rounding errors. Could you reproduce the situation in a simple form and mail it to me?&lt;br /&gt;&lt;br /&gt;You could rethink your rounding assumptions, or try to cook up a crazy default value formula using the modulus of the sum of previous siblings to implementing rounding manually.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: How to calculating percentage correctly?</title><link>https://www.infopathdev.com:443/forums/thread/4395.aspx</link><pubDate>Mon, 09 Apr 2007 20:42:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4395</guid><dc:creator>marina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4395.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4395</wfw:commentRss><description>correction:&lt;br /&gt;&lt;br /&gt;if Sum(Line_charge)&amp;gt;InvoiceAmount&lt;br /&gt;  add to LastRow(Line_charge) $0.01</description></item><item><title>Re: How to calculating percentage correctly?</title><link>https://www.infopathdev.com:443/forums/thread/4394.aspx</link><pubDate>Mon, 09 Apr 2007 20:38:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4394</guid><dc:creator>marina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4394.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4394</wfw:commentRss><description>Aruna, thank you for your reply. But, I am looking more for a solution such as:&lt;br /&gt;&lt;br /&gt;Sum(Line_charge)&lt;br /&gt;if the line_charge&amp;gt;InvoiceAmount&lt;br /&gt;  add to LastRow(Line_charge) $0.01&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Re: How to calculating percentage correctly?</title><link>https://www.infopathdev.com:443/forums/thread/4393.aspx</link><pubDate>Mon, 09 Apr 2007 05:58:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4393</guid><dc:creator>Aruna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4393.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4393</wfw:commentRss><description>Hi marina,&lt;br /&gt;&lt;br /&gt;1.Double click on 'Line Charge (read-only)' field.&lt;br /&gt;2.Click on 'Format' button under Data tab.&lt;br /&gt;3.Change the decimal places to '3' and click 'Ok'.&lt;br /&gt;4.Now enter &lt;br /&gt;InvoiceAmount:$5.29, select Department, enter Percentage:50 and check Line charge.&lt;br /&gt;5.It displays as '$2.645'.(Now the total upto $5.29)&lt;br /&gt;&lt;br /&gt;Hope this helps you!&lt;br /&gt;&lt;br /&gt;</description></item><item><title>How to calculating percentage correctly?</title><link>https://www.infopathdev.com:443/forums/thread/1955.aspx</link><pubDate>Sat, 07 Apr 2007 20:44:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1955</guid><dc:creator>marina</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1955</wfw:commentRss><description>FORM FIELDS:&lt;br /&gt;InvoiceAmount: (Example-)$5.29&lt;br /&gt;&lt;br /&gt;Repeating table fields:&lt;br /&gt;Department (drop-down): (Example-marketing)&lt;br /&gt;Line charge (read-only) : (InvoiceAmount*percentage*0.01)&lt;br /&gt;Percentage (integer): (Example-50)&lt;br /&gt;&lt;br /&gt;SCENARIO:&lt;br /&gt;The invoice amount needs to be charged to the different departments. The accounting clerk enters the percentage, and the line charge is automatically calculated.&lt;br /&gt;&lt;br /&gt;But, if the invoice amount is 5.29 and needs to be divided to two departments by 50%, it calculates $2.65 for each which totals up to $5:30.&lt;br /&gt;&lt;br /&gt;ANY SOLUTION for this wrong calculation?</description></item></channel></rss>