change input to number