You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/03/22 23:52:19 UTC
[Bug 57738] XSSFSheetXmlHandler returns incorrect values for numeric
cells
https://bz.apache.org/bugzilla/show_bug.cgi?id=57738
Nick Burch <ap...@gagravarr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Both Excel's .xls and .xlsx use doubles to store numbers, and formatting rules
to specify how numbers should be shown to the user. If you want POI to give you
a string of "what Excel shows for a cell", you need to use DataFormatter
If you look at org.apache.poi.xssf.eventusermodel.XLSX2CSV you'll see an
example of doing this.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org