Asked By JMay
07-Nov-09 09:36 AM
Jacob's Formula First DEDUCTS $200 from the total bill.
For those Total Bills that are LESS then 200 the result is a NEGATIVE (-100)
for (100-200) - But if the Total Bill is 300 then a positive of 100 (300-200)
Then the MAX() kicks in and says, Give me whichever is HIGHER, 0, -100
And 0 is Higher!! Then whichever id higher 0, 100 >> of course 100 is
Higher!
OK?
Choice gets the MAXIMUM of Either:
0 (Zero)