AnsweredAssumed Answered

Script = 0

Question asked by Kirk_1 on Aug 23, 2012
Latest reply on Aug 23, 2012 by philmodjunk

Title

Script = 0

Post

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
)

Outcomes