[ZODB-Dev] Help with String conversion in Zope

enrica dente enrica_dente at hotmail.com
Thu Jun 12 13:59:41 EDT 2003


Dear all,

I have a problem checking if an input from a form is a string or not and 
then change it into a float. The Zope code I have written is as follows but 
it does not work.

<dtml-if expr="same_type(standardkit_cost, 'Test')">
   <dtml-call "REQUEST.set ('standardkit_cost', _.float(standardkit_cost))">

</dtml-if>


Thanks,
Enrica

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger




More information about the ZODB-Dev mailing list