Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to open execl, TabRatio may be of float type #1767

Closed
lujin1 opened this issue Dec 22, 2023 · 2 comments
Closed

Failed to open execl, TabRatio may be of float type #1767

lujin1 opened this issue Dec 22, 2023 · 2 comments

Comments

@lujin1
Copy link
Contributor

lujin1 commented Dec 22, 2023

Description
Failed to open execl, TabRatio may be of float type
strconv.ParseInt: parsing "757.6136724960263": invalid syntax

Steps to reproduce the issue:

  1. workbook.xml
    image
  2. log
    strconv.ParseInt: parsing "757.6136724960263": invalid syntax

xmlWorkbook.go
image

https://learn.microsoft.com/en-us/office/vba/api/excel.window.tabratio
image

@xuri
Copy link
Member

xuri commented Dec 22, 2023

Thanks for your issue. It seems the workbook generated by Excel did not follow the data type defined in OOXML specifications. I'll change the field data type in the structure for better compatibility.

@xuri xuri closed this as completed in e998c37 Dec 22, 2023
@xuri
Copy link
Member

xuri commented Dec 22, 2023

This issue has been fixed, please upgrade to the master branch code, and this patch will be released in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants