PauloDarte
Member
Hy People.. I created 2 variables with values of data elements of xml , in this case taxes. What i want to do is
if var 1 < var2
LowerValue=var1
HigherValue=var2
else
HigherValue=var1
LowerValue=var2
I read a lot of stuff but cant solve this problem! Someone can help me? I cant do if's statements with variables! what i done to test was do an if statements like "if var1<var2" (i gave values to the 2 variables to have sure that the if its true) and inside of if statement i put a get to show the value of the variables but nothing appears! if i put the get outside the if i see that variables have a value but inside of the if statement don't work! can't figure out why.
Someone Have a Solution? tks
if var 1 < var2
LowerValue=var1
HigherValue=var2
else
HigherValue=var1
LowerValue=var2
I read a lot of stuff but cant solve this problem! Someone can help me? I cant do if's statements with variables! what i done to test was do an if statements like "if var1<var2" (i gave values to the 2 variables to have sure that the if its true) and inside of if statement i put a get to show the value of the variables but nothing appears! if i put the get outside the if i see that variables have a value but inside of the if statement don't work! can't figure out why.
Someone Have a Solution? tks