Use floats when calculating sleep times