Bug 7180: (followup) fix case where discount was divided by 100 twice.