How do i invert a number?
The $discount_pct is the number we offer as a discount. 17.5 or 21.30... how do invert it so i don't have an additional step of subtracting the discounted amount by the rate?
If i did not have the getvalue it would be ($discount_pct-100)*-1... ive tried that a couple ways and cant get the syntax to work. That would turn 17.5 into 82.5...
GetValue ( $discount_pct ; $counter ) * $toplinenumber