San Jose, CA
Posts: 1 since Dec 2016
Thanks Given: 0
Thanks Received: 0
|
Hi,
I have 25 parameters with value dynamically defined in thinkscript, t1=25.3, t2=12, ..., t25=0.004, is there an easy way to locate max/min out of them? I tried the following code and it does not work.
def tmax=(fold n=1 to 26 with s=0 do max(s, concat("t", n)); #max(s, t1), looks the concat produces t1.00 or something else; astext(n) does not work for int;
Any help is highly appreciated.
Have a blessed holiday.
H.
|