Gossamer Forum
Quote Reply
Substraction possible?
Hi!

i have two variables: A and B, both are numbers.
Now i need to find out the difference between both numbers and make the result "/ 10".

e.g.: A = 100, B = 75, so C = 25, output is: 2,5

Can i realize this directly inside the template-tags?
This doesnt works: <%set C= $A - $B%> <%C/10%>

Who can help me?

Greetings,

Coyu
Subject Author Views Date
Thread Substraction possible? Coyu 3060 Nov 29, 2005, 2:39 AM
Thread Re: [Coyu] Substraction possible?
Andy 2981 Nov 29, 2005, 3:11 AM
Thread Re: [Andy] Substraction possible?
Coyu 2976 Nov 29, 2005, 3:35 AM
Post Re: [Coyu] Substraction possible?
Andy 2953 Nov 29, 2005, 3:40 AM
Post Re: [Coyu] Substraction possible?
tandat 2955 Nov 29, 2005, 4:32 AM