Sign In  Sign Up Live-Chat

maintain two decimal places

Last post 12-03-2007, 11:57 AM by Hans.firefox. 2 replies.
Sort Posts: Previous Next
  •  11-12-2007, 3:44 PM 102224

    maintain two decimal places

    Hi,

    I am using ImportDataTable to populate my PDF.  I am having problem with displaying 0 as 0.00

    The two zeros after the decimal point get truncated.  I need to to display as "$0.00"

    Can you please let me know how to format data to the currency datatype with 2 decimal places for the entire column?  I need the Currency symbol to change  according to the settings in System.Threading.Thread.CurrentThread.CurrentCulture

    Thank you in advance for your help.


    Thanks in advance for your assistance.
     
  •  11-12-2007, 7:07 PM 102243 in reply to 102224

    Re: maintain two decimal places

    Hi,

    This feature is not supported. I have logged it as PDFNET-4032 and we will try to support it in the future version. As a workaround you can format the data into a string array by yourself and import the array into Table object.

    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  12-03-2007, 11:57 AM 104994 in reply to 102224

    Re: maintain two decimal places

    Attachment: Present (inaccessible)
    Hi,

    The problem has been resolved. Try the attachment please.

    Best regards.


    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML