Ok so the first one to alter the price works. But if I use this for the other item I don't see how it will work because floor is going to round to the nearest integer yet when buying 4 pieces the price should be 2.75 which using floor would bring it down to $2 right? Perhaps there is some place you know of that I can read up on this to better understand it?
I'm also not sure what I'm doing with the DiscountAmount calc you show.