https://issues.apache.org/bugzilla/show_bug.cgi?id=55875
Nick Burch <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID OS| |All --- Comment #1 from Nick Burch <[email protected]> --- Calling cell.setCellType(Cell.CELL_TYPE_STRING) will change the low level type of the cell, as stored in the file. POI will try to convert the type in a basic way for you, which is what you're seeing. If you want full control over how the number becomes a string, fetch the number, apply your own rules, then set the resulting string. If you just want to get a string holding the number as formatted in Excel, you'll need to use DataFormatter. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
