[Zope] dtml: string to atoi?

Philip Aylesworth zopelist@regalint.com
Fri, 26 Mar 1999 14:11:38 +0000


> 
> anybody know whether i convert a string to integer (atoi) via a dtml
> tag?
> 
Pg 9 of DTML ref.

Use something like <!--#if "num==_.string.atoi(_['sequence-item'])"-->"

Phil.