[Zope] How to multiply an integer in DTML??
Florent Guillaume
fg@nuxeo.com
Tue, 19 Mar 2002 14:27:42 +0000 (UTC)
Please expand on "doesn't work". What did you expect ? What did you get ?
What were the complete error messages ?
Florent
Breitenreicher, Marc <Marc.Breitenreicher@friatec.de> wrote:
> Hi,
>
> what I try to do is a short multiplication.
>
> For example just multiply a variable with 5.
> I tried this, but doesn't work:
>
> <dtml-call "REQUEST.set('var', _.int(var)*5)">
>
> Can someone help me?
>
> It is just that short multiplication, so I think it is not neccessary to
> build a python script.
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10 http://nuxeo.com mailto:fg@nuxeo.com