GetMaxValue function

Learn technical details about the GetMaxValue function.