<?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>Trailing zeroes in decimal field</title><link>https://www.infopathdev.com:443/forums/thread/99343.aspx</link><pubDate>Tue, 30 Sep 2014 12:36:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99343</guid><dc:creator>Tosha Mehta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=99343</wfw:commentRss><description>Hello,

 I am using an Infopath form in my SharePoint 2010 server and the requirement is to convert the form into a PDF. I have been able to do this but as you know, the display on the Infopath form would only two decimal places as i have made that setting on the field. But when i am converting the form into a PDF, about 10 decimal places appear in the field. I downloaded a form and had a look at the xml where i observed that the field had all these trailing zeros after the decimal point. Is there a way i can remove these decimals from the XML itself so that the PDF has only 2 decimals. Something like a round function rounding the decimal places. i would NOT like to round up to the nearest integer because i am trying to show the numbers as currency.

Thanks in advance! Any help is appeciated</description></item></channel></rss>