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

float64's that are NaN cause corrupt .xlsm file #119

Closed
sanoanalytics opened this issue Sep 11, 2017 · 1 comment
Closed

float64's that are NaN cause corrupt .xlsm file #119

sanoanalytics opened this issue Sep 11, 2017 · 1 comment

Comments

@sanoanalytics
Copy link

I stumbled upon a bug. If you pass a float64 to SetCellValue() and it is NaN, it causes a corrupt .xlsm file. I simply used math.IsNaN() to check prior to SetCellValue() and that the solved problem.

@xuri
Copy link
Member

xuri commented Sep 12, 2017

Thanks for your issue. I have tested on xlsx and it works well. This lib not been tested with xlsm file currently.

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