[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] [calc] problem
>****** message to minivend-users from peter hicks <peter@libation.com>
>******
>
>hello list,
>
>the following tags return the wrong amount:
>
>[currency][calc][discount-price] * [item-quantity][/calc][/currency]
>
>if I just place the tags
>[discount-price] * [item-quantity]
>
>I get the values
>$18.05 * 12
>
>but the [calc] tag returns 60, not 216.60.
>
>I want to set up a per item sub-total in the basket.
>
>Your help is appreciated immensely!
>
You multiply a string with a number and are not satisfied with the result.
Try to use numbers in multiplications.
The documentation will have more information under [discount-price].
fm
--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung
Leopoldstr. 24 80802 Muenchen +49 89 38602-237