[Zope] dtml: string to atoi?

Rik Hoekstra hoekstra@fswrul.fsw.leidenuniv.nl
Fri, 26 Mar 1999 14:19:26 +0100


-----Original Message-----
From: Rik Hoekstra [mailto:fghoekstra@cit10.wsd.leidenuniv.nl]
Sent: vrijdag 26 maart 1999 14:17
To: WWW Admin
Subject: RE: [Zope] dtml: string to atoi?




> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of WWW
> Admin
> Sent: vrijdag 26 maart 1999 14:07
> To: zope@zope.org
> Subject: [Zope] dtml: string to atoi?
>
>
> hi,
>
> anybody know whether i convert a string to integer (atoi) via a dtml
> tag?
>

try:

<!--#var expr="_.string.atoi('anynumber')"-->

Rik Hoekstra