poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57738] XSSFSheetXmlHandler returns incorrect values for numeric cells
Date Sun, 22 Mar 2015 22:52:19 GMT

Nick Burch <apache@gagravarr.org> changed:

           What    |Removed                     |Added
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Nick Burch <apache@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

View raw message