Use max value for check after running values through parseFloat