Trailing zeroes in decimal field - InfoPath Dev
in

InfoPath Dev

Trailing zeroes in decimal field

Last post 09-30-2014 05:36 AM by Tosha Mehta. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-30-2014 05:36 AM

    Trailing zeroes in decimal field

    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
    Filed under: ,
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.