Michael wrote: > Hi all, > I am looking for some help with the below code. I am trying to have a > payment option show up when there is a zero balance, > > [if explicit] > [condition] > $test = [total-cost]; > return 1 if $test eq "$0.00" ; > return 0; > [/condition] > > [if variable CHECK_ACCEPTED] > <option [selected mv_free] value="Free">[L]Free[/L] > [/if] > [/if] > > > Can anyone help me? Try putting $0.00 in single quotes. Double quotes cause perl to interpolate variables, thus the contents of the variable $0 concatinated with '.00' are being compared. JT _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.