Hello. Is it possible to compare the values (numbers) contained within some child variables (of a structure variable) to get the highest number so I can do something with it? I found a ‘compare two numbers’ condition and the max() function, but I want to compare more than two numbers.
e.g. childOne = 3, childTwo = 1, childThree = 2.
I would like to compare the values 3, 1 and 2, and end up with 3 (childOne) identified as the highest. Once I have that value I could, for example, add 1 and assign that new number to childFour. Note that the structure variable might have more children than the ones I want to compare; I would want to target some of them, not all of them. I was hoping for an expression to do something like this:
giveMeTheMaxPleaseOf((childOne), (childTwo), (childThree)) + 1)
Thank you.