[ic] What's wrong with this syntax ?
Jonathan Clark
interchange-users@interchange.redhat.com
Sat Apr 20 07:51:02 2002
> I would like to do a computation based on the contents of the tag
> [subtotal]
> in the cart template.
>
> The code in the cart template, which displays the subtotal,
> looks like this
> :
>
> <td class="contentbar2" align=right><b>[subtotal]</b></td>
>
> Immediately after this code, I want to display the subtotal
> multiplied by a
> constant (say 1.10), so I wrote :
> <td class="contentbar2" align=right><b>[calc] [subtotal] * 1.10 [/calc]
> </b></td>
>
> Well, it doesn't work...
try:
[calc] [subtotal noformat=1] * 1.10 [/calc]
Jonathan
Webmaint.