Comparing numbers

Supposed to be easy, but i can’t just do it.

i have fields
qty1 (decimal)
qty2 (decimal)

I’d like compare
if ({qty1} < {qty2})
print small
else
print big

somehow, it always print small no matter value of qty1

Any tips from anyone ?

Thank’s

if ({qty1}<{qty2}){
echo “small”;
}else{
echo “big”;
}

I guess you mean something extra… Like where to put the code, on which event in scriptcase?

I missed out on the curly bracket.
I thought it supposed to be ok.

Thank’s rr