Actions
Bug #16445
closedTime#inspect shows a fractional number
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-12-22T14:17:39Z master d339de9d1a) [x86_64-darwin18]
Backport:
Description
Time#inspect
shows a fractional number.
irb(main):001:0> Time.at(0.5)
=> 1970-01-01 09:00:00.5 +0900
irb(main):002:0> Time.at(0.1)
=> 1970-01-01 09:00:00 3602879701896397/36028797018963968 +0900
Is this intentional?
Actions
Like0
Like0Like0