https://issues.apache.org/bugzilla/show_bug.cgi?id=46689
Summary: Numeric cell value problem
Product: POI
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
I understand that floating point conversions are not the responsibility of the
POI project (bug #30565). Altough I have a related issue: I have a large number
in an Excel file, that exceeds the a Java 'int' 's capability (e.g.
95842303093988300). (It is an id of a contract). As
HSSFCell.getNumericCellValue() returns a double (no matter that the value is an
integer) I have the same problem as in #30565 ('extra digit'), but I just can't
leave it that way: 95842303093988300 or 95842303093988304 is a relevant
difference...
Is there any workaround to avoid floating point arithmetic when reading integer
(long) values from a cell?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]