Max_abs = Max( Abs( X ), Abs( Y ) )

If Discount( Product ) > 0 then
 ...
;  
