Sets the maximum value of the range.
new maximum value
The newly set value which was given as parameter
See Implementation
Sets the maximum value of the range.