Get the max integer of an array



I'm looking for a way to get the max element of an array containing integer. I can't find any way to do that.

Here is how I created my array in a ruby filter :


I want to get the element in the array DateTab that is the bigger. For example if DateTab = 1,5,89,51,264,120

The result shoud be 264

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.