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.
Recent Comments