Import of file with long numbers (SSCC) is parsed wrong #3239

Open
opened 2024-10-14 11:01:38 +00:00 by tamsrud · 2 comments

Importing of the attached excel file is parsed wrong. The numbers is changed. Attached screenshot of the excel file and how it is imported in the sheetjs in-browser demo.

Guessing it some rounding issues happening when the number is above a certain length.

Importing of the attached excel file is parsed wrong. The numbers is changed. Attached screenshot of the excel file and how it is imported in the sheetjs in-browser demo. Guessing it some rounding issues happening when the number is above a certain length.
Owner

Excel limits numbers to 15 digits. There is a correction applied for date codes but it appears we also need to apply it to general numbers

Excel limits numbers to 15 digits. There is a correction applied for date codes but it appears we also need to apply it to general numbers
Author

Not sure if this can/should be fixed anyway. Since Excel has a 15 digit limit, having 18 digit numbers will always cause issues of some sort.

Not sure if this can/should be fixed anyway. Since Excel has a 15 digit limit, having 18 digit numbers will always cause issues of some sort.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#3239
No description provided.