poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yehogold <yehog...@yahoo.com>
Subject The difference between a blank TYPE_NUMERIC cell and a TYPE_NUMERIC cell with 0.
Date Tue, 11 Aug 2009 18:35:39 GMT

Hi.

I'm trying to test if a specific cell is empty.  For TYPE_STRING cells, I
can get the cellStringValue and check it against an empty string. 
getNumericValue(), returns '0' when the cell is empty, making it impossible
to differentiate between a truly empty TYPE_NUMERIC cell and one that
contains '0'.

How can a I check if a cell is truly empty?

Thank you in advance for all your help.
-- 
View this message in context: http://www.nabble.com/The-difference-between-a-blank-TYPE_NUMERIC-cell-and-a-TYPE_NUMERIC-cell-with-0.-tp24923291p24923291.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message