Nick, you are right, I just found that I was reading something else than I 
thought I was reading. Sorry to bother everyone with this, thanks for the 
response though.

rutger

________________________________________
From: Nick Burch [[email protected]]
Sent: Friday, July 08, 2011 1:07 PM
To: POI Users List
Subject: Re: Retrieve percentage data from Cell

On Fri, 8 Jul 2011, Rutger van Iperen wrote:
> I am trying to read excell sheets, but when I run into percentages, I
> allways get the value 1.0.
>
> Right now I simply take the cell and call  cell.getNumericValue()

I'd double check you're reading the cell you think you are. If a cell is
formatted as a percentage, and showing 85% in Excel, then it'll be stored
as 0.85 in the file

Nick

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

Reply via email to