[Zope] Can we do arithmetical operation on dtml variables

Andreas Jung Andreas Jung" <andreas@andreas-jung.com
Tue, 7 Aug 2001 08:28:15 -0500


Of course you can:

<dtml-var expr="2*a+b">

The stuff inside the double quotes is treated as a Python expression.
For further help please provide some more details and be a bit more
informative.

Andreas
----- Original Message -----
From: "Suresh Eddala" <eddala@hotmail.com>
To: <zope@zope.org>
Sent: Dienstag, 7. August 2001 07:24
Subject: [Zope] Can we do arithmetical operation on dtml variables


> hi,
>   can we do any arithmetical operation on  <dtml-var >    variables   in a
> DTML Document.
> please help
>
> E.suresh Babu
> ZeOmega Infotech. Pvt Ltd.
> Bangalore
> India.
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>