[Zope] dtml: string to atoi?

Gilles.Lavaux gilles.lavaux@esrin.esa.it
Fri, 26 Mar 1999 14:19:00 +0100


Hello

This workd for me:
<!--#call "REQUEST.set('req_level',_.string.atoi(req_level)+1)"-->

Another things I have already asked: how to do the same assigment on a date
with a formating(to get only the year for ex.):
<!--#call "REQUEST.set('ThisYear',ZopeTime fmt blablabla )"-->  ????????
Thanks for any help.


Gilles lavaux


-----Original Message-----
From: WWW Admin <webman@beehive.de>
To: zope@zope.org <zope@zope.org>
Date: Friday, March 26, 1999 4:15 PM
Subject: [Zope] dtml: string to atoi?


>hi,
>
>anybody know whether i convert a string to integer (atoi) via a dtml
>tag?
>
>regards,
>
>webman
>
>---------------------------------------------------------------------------
>webman                                          |                        _
>beehive GmbH                                    | ASCII ribbon campaign ( )
>berlin, Germany                                 |  - against HTML email  X
>http://www.beehive.de                           |              & vcards / \
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(For developer-specific issues, use the companion list,
>zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>