You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also stumbled across the problem. The conversion in milliseconds is obviously affected as well. (See also #5596): console.log(moment.duration('PT0.002635S').asMilliseconds()); // 2.6350000000000002
Describe the bug
Floating point error occurs when call
.asWeeks()
after call.subtract()
with particular values.To Reproduce
Expected behavior
Desktop (please complete the following information):
Moment-specific environment
Please run the following code in your environment and include the output:
The text was updated successfully, but these errors were encountered: