In the course of testing an upgrade from Aspose.Words 6.6 to 7.0 I noticed that the cell values in my Word tables were being rounded to three significant decimal places. This occurs even if the source DataTable column(s) is assigned a data type of string. So, if a data table field contains a string value of 3.1456 when merged into a table using Aspose.Words 7.0 the value 3.146 is merged into the cell. When performing the same operation using Aspose.Words 6.6, the correct source value of 3.1456 is merged into the cell. It appears as if version 7.0 is inferring a data type even though the underlying type is defined as a string.
For your convenience I included three attachments: Two Word documents demonstrating the output results of version 6.6 and version 7.0. I also included a zipped up Visual Studio 2008 solution that contains a spike in the form of a test (see method DataTableFieldTruncated in file BugTest.cs).
This issue is preventing us from upgrading and closing out bugs in our system. Let me know if there’s anything we can do on our end to change the reported behavior.
Thanks,
Ed