class Fixnum
Constants
- DEFAULT_ROUNDING
Public Instance Methods
to_hours(round=nil)
click to toggle source
# File lib/core_ext/fixnum.rb, line 4 def to_hours(round=nil) round ||= DEFAULT_ROUNDING ((self / 3600000.0) / round).round * 0.25 end