Hi there,
I am using the spire.xls for Java (free) to convert a simple excel file to PDF. I have a similar code that is used in your website as an example to convert excel to pdf.
While the conversion happens, i am facing a wierd issue. While most numbers get formatted correctly in the pdf and matches the formatting of excel, numbers that are of 4 digits, say, 5,235 which should be formatted this way and is so in the excel input, gets formatted as 523,5 in the resulting pdf. While all the 5 digit, 6 digit, 7 digit numbers all get formatted correctly. Not sure if there is any issue or if i am doing something wrong. Can you please guide?
I am attaching in a zip file the following:
1. Source code used
2. POM.xml file used
3. Input excel file (portfolio_tracker.xlsx)
4. Output file by running the above java code, the pdf file (Portfolio_Tracker.pdf)
5. Screenshots of how the input xls is looking in my pc (using Indian locale en_IN), how the output pdf is looking (with the wrongly formatted values highlighted).
Kindly look into this and help.