Win32 and EXCEL

Tomasz Lisowski jtlispl at poczta.NOSPAM.onet.pl
Mon Jan 28 07:06:24 EST 2002


Uzytkownik "Syver Enstad" <syver-en+usenet at online.no> napisal w wiadomosci
news:uaduyyhuu.fsf at online.no...
> pekka niiranen <krissepu at vip.fi> writes:
>
> > Has anybody found a solution to this:
> >
> > When reading a range from Excel into Python,
> > text is returned as unicode and integer values as decimals.
> > How can I make Excel to return integer numbers as integers.
> > If I have a value 1 in cell it is read as 1.0 into python.
>
> I didn't even know that excel had integers?
>

Excel does not have integers - they are simply real numbers displayed with 0
decimal digits of precision.

--
Tomasz Lisowski






More information about the Python-list mailing list