Whoa, I just did one of those balancing equation things to make:



price = total – (total * (discount / 100))



become:



discount = – ((price – total) / total) * 100



Now when those people around the office need to calculate the discount for my application they can do it quicly and easily. Much more efficient than that trial and error. My math teachers would be proud.

Author: Ian

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *