Apply Long Hand Numeric Formats to Numbers more than 999999 (Over a Million) during Mail Merge C# .NET | DOC to PDF

Hello Support,

We are facing issue while converting value over a million in a word format while doing mailmerge so please find https://drive.google.com/file/d/1ZD_zbHpe0cAMr8ddBvLrWyhb5mUGfeL8/view?usp=sharing. Please take a look and get back to us with a resolution.

Thank you

@kkurra,

We generated DOC and PDF files by using the following code of 20.8 version of Aspose.Words for .NET on our end and attached them here for your reference:

Code:

Document doc = new Document("C:\\WorkflowConsoleApplication1\\test_commitvalue.doc");
doc.MailMerge.Execute(new string[] { "Commitment_CurrentCommitmentValue" }, new string[] { "1000000" });
doc.Save("C:\\WorkflowConsoleApplication1\\20.8.doc");
doc.Save("C:\\WorkflowConsoleApplication1\\20.8.pdf");

Do you see the same problem in these output DOC and PDF files? If yes, then please create and attach a comparison screenshot which highlights (encircles) the problematic area inthe Aspose.Words 20.8 generated PDF or DOC file (with respect to your expected MS Word generated document) here for further testing. We will then investigate the issue further and provide you more information.

@awais.hafeez

When we are adding value million or over it value is not converting into word but if we are adding less then a million it is properly converting value into words. I have attached a file for your reference so please check it.
MergeResult_090220115921.pdf (36.5 KB)

@kkurra,

We have logged this problem in our issue tracking system with ID WORDSNET-21047. We will further look into the details of this problem and will keep you updated on the status of linked issue. We apologize for your inconvenience.

@awais.hafeez

Can we have any timeline when this would be fixed?

Thanks…

@kkurra,

Yes, we have good news for you i.e. WORDSNET-21047 has now been resolved. The fix of this issue will be included in the next 20.10 version of Aspose.Words. We will inform you via this forum thread as soon as next 20.10 version containing the fix of this issue will be released at the start of next month.

@awais.hafeez

We have checked this issue with 20.10 version but we are still getting this issue so please find attached screenshot.
image1.jpg (13.6 KB)

Thank you…

@kkurra,

We are no longer able to reproduce this issue with 20.10 version of Aspose.Words for .NET on our end. Please see these test documents (Docs WORDSNET-21047.zip (68.1 KB)) and try running the following code:

Document doc = new Document("C:\\temp\\test_commitvalue.doc");
//doc.MailMerge.Execute(new string[] { "Commitment_CurrentCommitmentValue" }, new string[] { "2000000" }); 
doc.MailMerge.Execute(new string[] { "Commitment_CurrentCommitmentValue" }, new string[] { "1999999" });
doc.Save("C:\\temp\\20.10-1999999.pdf");

@awais.hafeez

Hi,

We have checked it using 20.10 version but it is not working for 3 billion or more than that so please find attached image.
Aspose.png (40.7 KB)

Thanks…

@kkurra,

We have now logged a separate issue with ID WORDSNET-21232 . We will further look into the details of this problem and will keep you updated on the status of linked issue. We apologize for any inconvenience.

The issues you have found earlier (filed as WORDSNET-21047) have been fixed in this Aspose.Words for .NET 20.10 update and this Aspose.Words for Java 20.10 update.

The issues you have found earlier have been fixed in this Aspose.Words for .NET 20.12 update and this Aspose.Words for Java 20.12 update.