I am trying to get the maximum and minimum values in an array of values received from the server. In order to set text, I should pick only the max and min values.
So for