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

explicit cast of $val to string for ctype_digit and array access #6

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

Blue3957
Copy link
Contributor

fixes #5
Here's a quick fix that allows for data containing types other than String, as long as they can be cast to a string (as used to be the case). It correctly uses xlsWriteNumber for strings that only contain numbers, as long as they don't have a leading 0.

@ikkez ikkez merged commit 9d18a6f into ikkez:master Dec 11, 2023
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.

ctype_digit(): Argument of type float will be interpreted as string in the future
2 participants