nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
Apache License 2.0
5.73k stars 1.43k forks source link

[POI-Bug-67475] Better support for edge cases in TEXT function. #1287

Closed superrnovae closed 6 months ago

superrnovae commented 8 months ago

Bugzilla URL: https://bz.apache.org/bugzilla/show_bug.cgi?id=67475 SVN revision: https://svn.apache.org/viewvc?view=revision&revision=1912973

This also fixes parsing of doubles in DataFormatter as it will now pass current culture object to double.Parse() method.

tonyqus commented 6 months ago

The changes in FormatRawCellContents method caused the failure of TestDataFormatter.TestGrouping and TestDataFormatter.TestLocale. I have to revert the changes.