Re: Reading floats from Excel using COM

2009-07-14 Thread John Machin
Alagalah nekotaku.com> writes: > > Hi, I am using the Range function to return a tuple from Excel. [big snip] Exact duplicate of question asked by "KB" on http://groups.google.com/group/python-excel ... see my answer there. -- http://mail.python.org/mailman/listinfo/python-list

Reading floats from Excel using COM

2009-07-14 Thread Alagalah
Hi, I am using the Range function to return a tuple from Excel. The data in the range (nREVENUE) in the excel file is 100.0, 101.0, 102.0, 103.0, 104.0 I can successfully iterate across the tuple and list, but when I try and cast to a float to do some math, I get: File "C:\Python25\lib\site-pa