Using float for processing time variable