![]() |
![]() |
Hello everyone,
Sorry to bother you with an IF problem again,
but i really tried a lot before writing to you... :-\
The problem that i have is with 'if' and numeric comparison in Interchange V4.6.1.
After having searched in the mail list i used some
examples that i found on string comparisons but this doesn't gives me the result
that i'would like.
With the following code i'm trying to compare 2
numeric fileds : 'price_retail' and 'price'. When 'price_retail' is greater than
'price', i would like to display a message.
This comparison works with '=' but not with
'>'...
Can anyone give me some info on what i'm
missing?
----------------- start of snipped code
------------------
[if
explicit]
[condition] $price_ret = '[value loop-price_retail]'; $price_to_pay = '[value loop-price]'; return 1 if $price_ret > $price_to_pay; return 0; [/condition] message to display [/if]
------------------ end of snipped code ------------------ Thank you in advance
Cheers
Vagel
|