You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
A cell that contains value like 200 number, $200 value that is formatted as Text should be recognized as 200 number - $200 value when using the rangeToArray function.
What is the current behavior?
The cell is being recognized as 200 number - 0 value.
I already replicated the issue on the tests, now just need to finish writing the fix for it.
Any tips would be welcome, even more if this issue was noticed before by someone else. I couldn't find any previous issues or pull requests that would relate to this.
It seems that even though the column is text is being considered a number formatter and then something recognizes the dollar signs followed by numbers as a regex replacement variable
This is:
What is the expected behavior?
A cell that contains value like
200 number, $200 value
that is formatted as Text should be recognized as200 number - $200 value
when using therangeToArray
function.What is the current behavior?
The cell is being recognized as
200 number - 0 value
.What are the steps to reproduce?
issue.dollar.sign.xlsx
What features do you think are causing the issue
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
XLS isn't affected.
XLSX is affected.
Which versions of PhpSpreadsheet and PHP are affected?
It seems all of them.
The text was updated successfully, but these errors were encountered: