Script = 0
This script is producing a 0.
If i break out the $discount_min, $discount_pct, and get rid of the let statement, they populate assigned fields correctly. I can see $toplinenumber in my data viewer. So i know that i have numbers to work with.
I don't have the syntax correct, can you see what it is?
Let ( [
~min = GetValue ( $discount_min ; $counter ) ;
~pct = GetValue ( $discount_pct ; $counter )
~pct * $toplinenumber