Unicode code has no method float() ?

2006-05-04 Thread Rony Steelandt
How can I get the value of a Unicode object ? When I do myobject.float() I get the error message that it doesn't have a float() attribute tia R_ -- --- Rony Steelandt BuCodi rony dot steelandt (at) bucodi dot com Visit the python blog at http://360.yahoo.com/bucodi --

Re: Unicode code has no method float() ?

2006-05-04 Thread Alexandre Fayolle
Le 04-05-2006, Rony [EMAIL PROTECTED] nous disait: How can I get the value of a Unicode object ? When I do myobject.float() I get the error message that it doesn't have a float() attribute Try to use the float builtin function, as in: float(myobject) instead of a method. -- Alexandre

Re: Unicode code has no method float() ?

2006-05-04 Thread Rony Steelandt
Works, thank you Le 04-05-2006, Rony [EMAIL PROTECTED] nous disait: How can I get the value of a Unicode object ? When I do myobject.float() I get the error message that it doesn't have a float() attribute Try to use the float builtin function, as in: float(myobject) instead of a