Hi,
How can I get the largest number to be the first number in a calculation? I did the below code but the largest number doesn't store in the $ aExtract variable. I need always a positive number from the calculation (the largest number be the first in the calculation). Can you help me with that? Thank you.
$N1 = 33
$N2 = 45
Local $numberSort [2] = [$N1 , $N2]
_ArraySort($numberSort, 1)
_ArrayDisplay($numberSort, "Sort Descending", Default, 1)
Local $aExtract = _ArrayExtract($numberSort, 0, 0, 0)
_ArrayDisplay($aExtract, "Row 1 cols 1")
$minus = $N1 - $N2