[Zope-dev] DTML Multiplication
John Fohrman
fohrman@mediaone.net
Wed, 1 Dec 1999 22:32:01 -0500
Hey Everyone:
I'm having trouble doing some simple multiplication in DTML, specifically:
<dtml-call "REQUEST.set('value', unitPrice[_['sequence-index']])">
<dtml-call "REQUEST.set('qty', quantity[_['sequence-index']])">
<dtml-call "REQUEST.set('totalCost', qty*value)">
It's the last line that causes the error. I've tried a number of things,
such as converting the variables to floats, all with no success. I receive
the following Zope Error:
Error Type: TypeError
Error Value: Illegal sequence repeat
I appreciate any help.
-- John