automatically convert hours to numeric