Created isNaN conditional for validation of 'dailyConsumption'