On Thu, 16 Feb 2012, tcole6 wrote:
Then I obtain the cell in question...

    cell.getCellStyle().getDataFormatString() returns "000\-00000\-000"
    cell.getCellStyle().getDataFormat() returns 164

Correct and correct. But...

    formatter.formatCellValue(cell) returns "12312345123"

Hmm, I wonder if it's perhaps a limitation of the Java class libary underneath?

Can you try calling DecimalFormat directly with your format pattern, and see what it makes of it?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to