Hi there
For certain cell values the xlsx package yields different formatted display text than Excel.
A full example with a file is available at https://github.com/feverpitch-tom/xlsx-rounding-demo.
For manual reproduction:
Create a spreadsheet with the following three values:
These should be formatted to display at two decimal places, and consequently are displayed as follows in Excel:
When parsed by the xlsx package the w property for each cell, which represents the formatted value, is as follows:
The last value (C1 in the sheet) is 0.01 less than is displayed in Excel.
Thanks
Tom
Hi there
For certain cell values the xlsx package yields different formatted display text than Excel.
A full example with a file is available at https://github.com/feverpitch-tom/xlsx-rounding-demo.
For manual reproduction:
Create a spreadsheet with the following three values:
These should be formatted to display at two decimal places, and consequently are displayed as follows in Excel:
When parsed by the xlsx package the w property for each cell, which represents the formatted value, is as follows:
The last value (C1 in the sheet) is 0.01 less than is displayed in Excel.
Thanks
Tom