<?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()</title><link>https://www.infopathdev.com:443/forums/thread/6777.aspx</link><pubDate>Tue, 03 May 2005 13:31:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6777</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6777</wfw:commentRss><description>In .NET we can round the decimals Math.Round method&lt;br /&gt;Math.Round(3.446, 2); //Returns 3.45.&lt;br /&gt;You can find more info about .net round method at&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemMathClassRoundTopic.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemMathClassRoundTopic.asp&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;I dint find much info about this in XSL but there is a work around for this&lt;br /&gt;multiply your output with 100, round the number and divide it with 100.&lt;br /&gt;&lt;br /&gt;so it could be like this&lt;br /&gt;round(result*100)/100&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>round()</title><link>https://www.infopathdev.com:443/forums/thread/4642.aspx</link><pubDate>Fri, 29 Apr 2005 23:36:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4642</guid><dc:creator>sainzmichael</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4642</wfw:commentRss><description>For this function, is there a way to set where it rounds to? Like I have Unit that is $28.50 and I want to apply a Discount to it of .85 to make it 24.225. I want to round to the nearest hundredth. How would I accomplish this?</description></item></channel></rss>