[ic] !! discount prices in steps !! HELP

Mark Johnson interchange-users@interchange.redhat.com
Fri Aug 10 14:22:00 2001


And, since the second attempt didn't do it...

> 
> unless ($perc) {
>   delete $Scratch->{discount_amount};
>   return $s;
> }

$Scratch->{discount_amount} = $s * $perc; 
return $s - $s * $perc;

> > [/discount]
> >
> 

Now, finally, you have what you want. Arg!

-- 
Mark Johnson
Senior Systems Architect - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912