icoder 4 Posted March 23, 2015 Report Share Posted March 23, 2015 Hi,is there a way to pull the maximum value of a list? let's say my list is 70.1169.9970.23 so i want the bot to pull the maximum value which is 70.23, i appreciate your help in advance! thanks Quote Link to post Share on other sites
deliter 203 Posted March 23, 2015 Report Share Posted March 23, 2015 set(#sort list,$sort list(%mylist,"Descending"),"Global") this sorts the list or if you just want the maximum number on the fly try set(#max value,$find regular expression($sort list(%mylist,"Descending"),"^.+"),"Global") Quote Link to post Share on other sites
icoder 4 Posted March 23, 2015 Author Report Share Posted March 23, 2015 thank you deliter! it works like a charm Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.