PDA

View Full Version : Do math with multiple values in XTemplate?



aCa
24 Nov 2010, 4:27 AM
Hi I need to multiple a counter with a price in my XTemplate. I tried to do {price*count} but it do not work. {price*2} and {2*count} works so the parameters is correct.

Is it possible to do this in XTemplate?

aCa
24 Nov 2010, 5:14 AM
Found the answer my self, {[values.count * values.price]} seems to do what I want :-)