<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculate totals with two seperate tax rates</title><link>https://www.infopathdev.com:443/forums/thread/72639.aspx</link><pubDate>Mon, 05 Dec 2011 23:15:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72639</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72639.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=72639</wfw:commentRss><description>&lt;p&gt;Your formula can look something like this:&lt;/p&gt;&lt;p&gt;my:pretax&amp;nbsp;+ (my:pretax&amp;nbsp;* (my:provtax + my:fedtax) div 100)&lt;/p&gt;</description></item><item><title>Calculate totals with two seperate tax rates</title><link>https://www.infopathdev.com:443/forums/thread/72638.aspx</link><pubDate>Mon, 05 Dec 2011 23:05:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72638</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=72638</wfw:commentRss><description>&lt;p&gt;Hello, &lt;br /&gt;&lt;br /&gt;I have the following fields:&lt;/p&gt;&lt;p&gt;Unit Price, Provincial Tax, Federal Tax, Pre-Tax Price, Total with Tax&lt;/p&gt;&lt;p&gt;All in a repeating table.&amp;nbsp; The tax rate changes between area so the user enters the value as a decimal (7.00).&amp;nbsp; I already calculate the Pre-tax price easily, but now need to calculate a &amp;quot;Total with Tax&amp;quot; .&amp;nbsp; That means I need to do the following:&lt;/p&gt;&lt;p&gt;=Pre-TaxPrice + (Pre-TaxPrice * ((ProvincialTax/100) + (FederalTax/100)))&lt;/p&gt;&lt;p&gt;&amp;nbsp;How can this be written as a formula? &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>