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

Exclude Infinity on createInputStream #906

Merged

Conversation

sophiedophie
Copy link
Contributor

Character such as 6E10000 becomes Infinity with Number()
but it's not NaN, so just returns it.
It causes error for excel file so can't open generated file.

We need to check if it's Infinity or not.

Character such as `6E10000` becomes Infinity with `Number()`
but it's not `NaN`, so just returns it.
It causes error for excel file so can't open generated file.

We need to check if it's Infinity or not.
@Siemienik
Copy link
Member

@sophiedophie thanks for the pull request :), could I ask you to write a test that covers this change?

@sophiedophie
Copy link
Contributor Author

@Siemienik Added the test. Please take a look for it and let me know if something need to be improved.

@guyonroche guyonroche merged commit ff813aa into exceljs:master Oct 2, 2019
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

Successfully merging this pull request may close these issues.

4 participants