6 Aug
2001
6 Aug
'01
6:54 p.m.
Hi Alexandre, Please send only plain-text messages to the mailing list... There is a built-in numeric function that you can use: int()... a = int(param) b = a + 1 return (a) HTH, Eric. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Alexandre Aguiar Sent: Monday, August 06, 2001 11:32 AM To: zope@zope.org Subject: [Zope] Being sure that my number is Int Im making a very simple python script within zope. It has only one parameter and all it does is add 1 to the param value: a = param b = a + 1 return (a) The problem is (I guess) that 'param' isnt a Int value, how can I "say" to zope that it is? Thanks for the help!!