Skip to content

Conversation

AntonyCorbett
Copy link
Contributor

Fix for #66

There are no practical circumstances in Excel or the OpenXML spreadsheet format where storing -0.0 is meaningful or desirable. Excel does not distinguish between 0.0 and -0.0 - it always displays and stores zero as 0, regardless of sign. When you manually enter "-0.0" in Excel, it is stored as "0". The OpenXML specification does not require or support a distinction, and all major spreadsheet applications treat -0.0 as 0.0.

The "normalisation" fix included in the PR is not needed for decimal or integer types.

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.

1 participant