[Zope] dtml-if

technews@egsx.com technews@egsx.com
Sun, 5 Dec 1999 18:30:24 -0500 (EST)


Yes,

Just makes sure that if the values set were strings they would get
converted to an integer and then you are comparing same type of data..

Adonis

On Sun, 5 Dec 1999, Kyle Burnett wrote:

> works excellent. thanks.
> 
> what does _.int do? does it just make sure the variable is an integer and
> not a some other type?
> 
> 
> ----------
> >From: <technews@egsx.com>
> >To: Kyle Burnett <kburnett@ep.newtimes.com>
> >Cc: Chris McDonough <chrism@digicool.com>, zope <zope@zope.org>
> >Subject: Re: [Zope] dtml-if
> >Date: Sun, Dec 5, 1999, 4:11 PM
> >
> 
> > <dtml-if "_.int(this_page_start) != _.int(page_start)">
>