Skip to content

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