POI only retrives what excel puts in. And thats what excel puts in. :(
Mmmnnf.. Then they're cheating us somehow :) I mean, when I reopen the excel document, the cell is of type text and still has 2000 in it. But I've studied the records getting generated by POI, and as you say, they're completely identical whether I change the cell type from general to text. Thanks for the clarification though.
Br,
Morten
-------Original Message-------
> From: Morten <[EMAIL PROTECTED]>
> Subject: Distinguishing between double and int in NumberRecord
> Sent: 28 Oct 2003 13:45:23
>
> Hi,
> > I'm using the event based API for processing documents.
> If I have a cell in my Excel document with the value 2000 it
> shows up in POI as a NumberRecord with the double value 2000.0.
> > I've tried to set the cell type to text, but POI still perceives
> it as a NumberRecord. It's not immediatly visible to me how to
> distinguish between double and integer cell content using the API.
> > Br,
> > Morten
> > > > > ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-------Original Message-------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
