Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
看起来数字以毫秒为单位。 因此,要转换为秒,请除以 1000,然后除以 60 得出分钟等。
Looks like the numbers are in milliseconds. So to convert to seconds, divide by 1000, then divide by 60 to find minutes etc.
这是一个简单的除法问题:
看起来这些数字只不过是毫秒。 70966 显示为 1:10 分钟,因为它去掉了毫秒部分(最后 3 位数字)。
It's a simple matter of division:
Looks like the numbers are nothing but milliseconds. 70966 displays as 1:10 minutes because it shaves of the millisecond part (last 3 digits).
我不确定我是否完全理解这一点,但是:
70966 / 70 seconds = 1013.8
所以将“值”除以 1013.8 应该得到大约的持续时间...
编辑:是的,本是对的,你应该除以 1000。我得到 1013.8 因为 70秒从 70.966 秒四舍五入到 70。
I'm not sure if I completely understand this, but:
So dividing the "value" by 1013.8 should get the duration, approximately...
Edit: Yes, Ben is right, you should divide by 1000. I got 1013.8 because the 70 seconds was rounded down from 70.966 seconds to 70.
扩展一下 Ben 所说的,看起来它们是毫秒,并且显示值是四舍五入的稍微,可能精确到 100 毫秒,然后“裁剪”到秒。 这可以解释为什么 30533 是 30 秒而 70966 是 70 秒。
To expand on what Ben said, it looks like they are milliseconds, and the display value is rounded slightly, possibly to the nearest 100 milliseconds and then 'cropped' to seconds. This would explain why 30533 is 30s and 70966 is 70s.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(4)
看起来数字以毫秒为单位。 因此,要转换为秒,请除以 1000,然后除以 60 得出分钟等。
Looks like the numbers are in milliseconds. So to convert to seconds, divide by 1000, then divide by 60 to find minutes etc.
这是一个简单的除法问题:
看起来这些数字只不过是毫秒。 70966 显示为 1:10 分钟,因为它去掉了毫秒部分(最后 3 位数字)。
It's a simple matter of division:
Looks like the numbers are nothing but milliseconds. 70966 displays as 1:10 minutes because it shaves of the millisecond part (last 3 digits).
我不确定我是否完全理解这一点,但是:
所以将“值”除以 1013.8 应该得到大约的持续时间...
编辑:是的,本是对的,你应该除以 1000。我得到 1013.8 因为 70秒从 70.966 秒四舍五入到 70。
I'm not sure if I completely understand this, but:
So dividing the "value" by 1013.8 should get the duration, approximately...
Edit: Yes, Ben is right, you should divide by 1000. I got 1013.8 because the 70 seconds was rounded down from 70.966 seconds to 70.
扩展一下 Ben 所说的,看起来它们是毫秒,并且显示值是四舍五入的稍微,可能精确到 100 毫秒,然后“裁剪”到秒。 这可以解释为什么 30533 是 30 秒而 70966 是 70 秒。
To expand on what Ben said, it looks like they are milliseconds, and the display value is rounded slightly, possibly to the nearest 100 milliseconds and then 'cropped' to seconds. This would explain why 30533 is 30s and 70966 is 70s.