Sets to one value from 2 doubles in array.
Sets the first value in the array to newValue, and deletes.
Sets to one value from 2 doubles.