Use doubles for time calculations.