-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Description
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:
- 1.225
- 100.665
- 656.685
These should be formatted to display at two decimal places, and consequently are displayed as follows in Excel:
- 1.23
- 100.67
- 652.69
When parsed by the xlsx package the w property for each cell, which represents the formatted value, is as follows:
- 1.23
- 100.67
- 652.68
The last value (C1 in the sheet) is 0.01 less than is displayed in Excel.
Thanks
Tom
taiansu and yfengBTI
Metadata
Metadata
Assignees
Labels
No labels