posted 18 years ago
I encouter one very interesting problem in our probject. Out system will read xls file and parse with POI then insert into system. One column in the xls has been set as "Text". But the values in some cells still be stored as *NUMBER*. The poi returns HSSFCell with numberic type when parsing. Then the value inserted into system may be the value with science nonation.
For example, the value in xls is 0.0000000005.
The POI will return 5E-10 and insert into system.
It seems one MS-Excel issue. Some cells right text format, but some with number format
This is very urgent for our project, please advise. Thanks again.