getInputValue() fixed for integers.