Hello.
I am facing an issue regarding number formatting for Decimal fields. The issue occurs only for a specific customer and cannot be reproduced internally.
In brief, the data is fetched from an SQL Server and is “fed” into a word document. The word document is (for testing purposes) very simple:
image.png (3.1 KB)
When executing, the integer field is formatted successfully, but the decimal field shows 4 digits, instead of 2:
image.png (1.3 KB)
When I run the same configuration on our server, the document is produced correctly, both fields have 2 decimal fields. Still, on the customer’s server, it doesn’t work. I checked the regional settings, nothing out of the ordinary. I tried all kinds of formats and other decimal fields, with no luck: in general it completely ignores formatting for decimal fields.
I am using a paid 17.3.0 version of Aspose.Words. Please do look into it, I am at your disposal for any further clarifications.
Thank you in advance,
Kyriakos