Markup

If cost is less than x then markup is x.

If cost is greater but less than x then markup is x.

If cost is even greater but less than x then markup is x.

For all greater,markup is x.