Divide by a double instead of a float when converting milliseconds to seconds