nMinimumInputValue variable should be used in the conditions.