[Zope-dev] Float conversion in External Method

Jason Spisak webmaster@mtear.com
Fri, 07 May 1999 15:33:03 -0400


Zopists,

I have and external method that is taking a flat text file and making a
Zope object out of each line.  I have one field though that is a float
type and I tried _.float() and it choked.  If I take that field out it
works fine.  If I don't convert I get a ValueError (of course).  I'm
getting a NameError.  In Zope terms is a NameError when it doesn't
recocnize a command (ie _.float)? Is there a specific import I have to
do to be able to call _.float?

Thanks in advance.


-- 
Jason Spisak
webmaster@mtear.com