This set entered on 8-3-14
8.2.14.5
imagine that you have a field that contains THE VALUE YOU ALREADY WANT. You can use this PRETEND field in your calc, and then, when you are all finished, put the old calc in place of the pretend field.
CALCULATED DISCOUNT, that holds the DISCOUNT PRICE.
Min ( Calculated Discount ; Price)
either the CALCULATED DISCOUNT or the REGULAR PRICE (if it is lower).
CALCULATED DISCOUNT (since the old calc results in the CALCULATED DISCOUNT).
/* returns the calculated discounted price or the original price, whichever is lower*/
Min ( Max (Price * .95 ; Cost * 1.2 ) ; Price )